What was the political system in japan before world war 2?

Japan was an imperial state, with an emperor that was thought of as a god. Mainly it was a Military Dictatorship.