On March 21, 1919, the Provisional President of the Hungarian People's Republic, Count Michael Károlyi, resigned and "transferred the power to the proletariat of the Hungarian peoples." The following day the head of the new government, Béla Kun, (whose official title was Commissar of Foreign Affairs), addressed himself "to the workers of the world" with a request to take up arms and defend the young Hungarian Soviet Republic from "imperialist attacks" on four fronts—Rumanian, Serbian, Czechoslovak, and Italian. His appeal was welcomed by the Rumanian, Serbian, Czechoslovak, and Italian workers' representatives at Budapest proclaiming their devotion to the Hungarian Commune almost within sound of the guns of the invading armies marching to destroy it.