Political parties (日本の戦前の政党 seitō?) appeared in Japan after the Meiji Restoration, and gradually increased in importance after the promulgation of the Meiji Constitution and the creation of the Diet of Japan. During the Taishō period, parliamentary democracy based on party politics temporarily succeeded in Japan, but in the 1930s the political parties were eclipsed by the military, and were dissolved in the 1940s during World War II.
Soon after the Meiji Restoration, various political associations arose. These included groups of disgruntled unemployed samurai seeking either to overthrow the government and return to the days of feudalism, or to invade Korea (see Seikanron), whereby their skills as warriors would be in demand again, These also included urban intellectuals and rural landowners who were part of the liberal Freedom and People's Rights Movement seeking a national assembly and written national constitution.
Both groups were viewed with equal suspicion and disdain by the Meiji oligarchy, who reacted by imposing several repressive laws on public assembly, the press and on political discussion. The Meiji government had come to power by an elite of samurai from certain clans (hanbatsu) and the genrō felt threatened by anything looking ever remotely like republicanism or democracy.