After World War One, from the shattered remains of the Austro-Hungarian Empire, a new Kingdom of Hungary was created. Being on the losing side of the war, the new Kingdom of Hungary lost many of its territories which had a significant percentage of Hungarian population, among which were. In addition, the size of its armed forces (Honved) was limited by the Trianon Treaty signed on the 4th June 1920. Hungary was also in a perilous situation, as it was surrounded by countries with which it had no friendly relationships. Between late 1918 and mid-1919, Hungary was invaded by the newly formed Czechoslovakia and Romania. Whilst the war with Czechoslovakia was a Hungarian military victory and was low in casualties, Romanian troops entered Budapest in August 1919, putting an end to hostilities which had left over 3,000 dead on either side. Furthermore, in March 1919, the short-lived Hungarian Soviet Republic was founded under the de facto control of Béla Kun, and politically, the country was volatile. The Hungarian Soviet Republic would fall on August 1st 1919, to be replaced by the Hungarian Republic and then in 1920, the Kingdom of Hungary.