In March 1919, the republic was itself overthrown by a Communist putsch, which established the Hungarian Soviet Republic. Soviet Hungary soon collapsed due to internal discontent and a Romanian invasion and, after a brief revival of the People's Republic, the monarchy was restored, now as an independent country.