This article is about the history of Hungary from October 1918 to November 1940.
On October 31, 1918, the Hungarian Democratic Republic was created by revolution that started in Budapest after the dissolution and break-up of Austria-Hungary at the end of World War I. The official proclamation of the republic was on November 16, 1918, and Mihály Károlyi was named as the republic's Prime Minister. This event also marked the independence of Hungary which had been ruled by the Habsburg Monarchy for several centuries.
The Hungarian Democratic Republic did not last long. Another revolution in 1919 marked the end of this state and the creation of a new communist state known as Hungarian Soviet Republic.
The rise of the Hungarian Communist Party (HCP) to power was rapid. The party was organized in a Moscow hotel on November 4, 1918, when a group of Hungarian prisoners of war and communist sympathizers formed a Central Committee and dispatched members to Hungary to recruit new members, propagate the party's ideas, and radicalize Károlyi's government. By February 1919, the party numbered 30,000 to 40,000 members, including many unemployed ex-soldiers, young intellectuals, and Jews. In the same month, Béla Kun was imprisoned for incitement to riot, but his popularity skyrocketed when a journalist reported that he had been beaten by the police. Kun emerged from jail triumphant when the Social Democrats handed power to a government of "People's Commissars," who proclaimed the Hungarian Soviet Republic on March 21, 1919.
The communists wrote a temporary constitution guaranteeing freedom of speech and assembly; free education, language and cultural rights to minorities; and other rights. It also provided for suffrage for people over eighteen years of age except clergy, "former exploiters," and certain others. Single-list elections took place in April, but members of the parliament were selected indirectly by popularly elected committees. On June 25, Kun's government proclaimed a dictatorship of the proletariat, nationalized industrial and commercial enterprises, and socialized housing, transport, banking, medicine, cultural institutions, and all landholdings of more than 40.5 hectares. Kun undertook these measures even though the Hungarian communists were relatively few, and the support they enjoyed was based far more on their program to restore Hungary's borders than on their revolutionary agenda. Kun hoped that the Russian government would intervene on Hungary's behalf and that a worldwide workers' revolution was imminent. In an effort to secure its rule in the interim, the communist government resorted to arbitrary violence. Revolutionary tribunals ordered about 590 executions, including some for "crimes against the revolution." The government also used "red terror" to expropriate grain from peasants. This violence and the regime's moves against the clergy also shocked many Hungarians.