Also in April 1918 Crimea was cleared of Bolshevik forces by Ukrainian troops and the Imperial German Army. On March 13, 1918 Ukrainian troops and the Austro-Hungarian Army secured Odessa. On April 5, 1918 the German army took control of Yekaterinoslav, and 3 days later Kharkov. By April 1918 all Bolshevik gains in Ukraine were lost; this was due to the apathy of the locals and the then-inferior fighting skills of the Red Army compared to their Austro-Hungarian and German counterparts. Yet disturbances continued throughout Eastern Ukraine, where local Bolsheviks, peasant self-defense groups known as "green armies", and the anarchist Revolutionary Insurrectionary Army of Ukraine refused to subordinate to Germany. Former Imperial Russian Army General Pavlo Skoropadsky led a successful German-backed coup against the Rada on April 29. He proclaimed the conservative Ukrainian State (also known as the "Hetmanate") with himself as monarch, and reversed many of the socialist policies of the former government. The new government had close ties to Berlin, but Skoropadsky never declared war on any of the Triple Entente powers; Skoropadsky also placed Ukraine in a position that made it a safe haven for many upper- and middle-class people fleeing Bolshevik Russia, and was keen on recruiting many former Russian Army soldiers and officers. Despite sporadic harassment from Makhno, the territory of the Hetmanate enjoyed relative peace until November 1918; when the Central Powers were defeated on the Western Front, Germany completely withdrew from Ukraine. Skoropadsky left Kiev with the Germans, and the Hetmanate was in turn overthrown by the socialist Directorate. Almost immediately after the defeat of Germany, Lenin's government annulled their Brest-Litovsk Treaty – which Leon Trotsky described as "no war no peace" – and invaded Ukraine and other countries of Eastern Europe that were formed under German protection. Simultaneously, the collapse of the Central Powers affected the former Austrian province of Galicia, which was populated by Ukrainians and Poles. The Ukrainians proclaimed a Western Ukrainian People's Republic (WUNR) in Eastern Galicia, which wished to unite with the Ukrainian People's Republic (UNR); while the Poles of Eastern Galicia – who were mainly concentrated in Lwów () – gave their allegiance to the newly formed Second Polish Republic. Both sides became increasingly hostile with each other. On January 22, 1919, the Western Ukrainian People's Republic and the Ukrainian People's Republic signed an Act of Union in Kiev.