In 1919, the eastern European country that was briefly ruled by a Soviet Republic before becoming a military dictatorship was Hungary.
The Hungarian Soviet Republic or Republic of Councils in Hungary only lasted for 133 days as the Hungarians surrendered to Romanian forces on August 1, 1919.