Why was Hitler arrested and put in jail for 9 months?

a
He murdered a Jewish rabbi in the synagogue.
b
He robbed a Jewish bank.
c
He wrote a book against the German president.
d
He tried to lead a coup to overthrow the government.

d

He tried to lead a coup to overthrow the government.