After the collapse of the Austro-Hungarian empire in late 1918, the Red Army of the Hungarian communist state (Hungarian Soviet Republic) conducted successful campaigns to protect the country's borders.