Why did the samurai accept positions in the Meiji government?

A. Government positions paid a lot of money.
B. The samurai wanted to enact reforms.
C. All of the positions in the military had been filled.
D.Government positions were prestigious.