Anarchism in Ukraine has its roots in the democratic and egalitarian organization of the Zaporozhian Cossacks, who inhabited the region up until the 18th century. Philosophical anarchism first emerged from the radical movement during the Ukrainian national revival, finding a literary expression in the works of Mykhailo Drahomanov, who was himself inspired by the libertarian socialism of Pierre-Joseph Proudhon. The spread of populist ideas by the Narodniks also lay the groundwork for the adoption of anarchism by Ukraine's working classes, gaining notable circulation in the Jewish communities of the Pale of Settlement.

By the outbreak of the 1905 Revolution, a specifically anarchist movement had risen to prominence in Ukraine. The ideas of anarcho-communism, anarcho-syndicalism and individualist anarchism all took root in Ukrainian revolutionary circles, with syndicalism itself developing a notably strong hold in Odesa, while acts of anarchist terrorism by cells such as the Black Banner became more commonplace. After the revolution was suppressed, Ukrainian anarchism began to reorganize itself, culminating in the outburst following the February Revolution, when Nestor Makhno returned to the country and began to organize among the peasantry.

Ukraine became a stronghold of anarchism during the revolutionary period, acting as a counterweight to Ukrainian nationalism, Russian imperialism and Bolshevism. The Revolutionary Insurgent Army of Ukraine (RIAU), led by Makhno, carved out an anarchist territory in the south-east of the country, centered in the former cossack lands of Zaporizhzhia. By 1921, the Ukrainian anarchist movement was defeated by the Bolsheviks, who established the Ukrainian Soviet Socialist Republic in its place.

Anarchism experienced a brief resurgence in Ukraine during the time of the New Economic Policy, but was again defeated following the rise of totalitarianism under the rule of Joseph Stalin. Further expressions of anarchism existed in the breach of Soviet Ukrainian history, before finally reemerging onto the public sphere following the dissolution of the Soviet Union. In the 21st century, the Ukrainian anarchist movement has experienced a resurgence, itself coming into conflict with the rising far-right following Euromaidan.

History At the western-most point of the Eurasian Steppe, the lands today known as Ukraine came under the control of a number of nomadic societies from the 5th century BCE. First came the Indo-European Scythians and Sarmatians, then the Turkic Khazars, Pechenegs and Cumans, before the migration of Slavs to the region. By the 9th century CE, these Slavs became known as the Rus and had formed a loose federation of principalities, with Kyiv as its center. The Rus were converted to Orthodox Christianity over the following century, before being invaded by the Mongol Empire, which brought about the collapse of Kyivan rule. While ruled by the Golden Horde, the northern states under the rule of Moscow became known as "Russia", while the southern borderlands came to be known as "Ukraine". After the fall of the Horde, Ukraine became a battleground between the competing Polish, Russian and Ottoman Empires, which brought about the development of a distinct Ukrainian culture.

By this time, the Cossacks had emerged from the conflict, establishing themselves along the banks of the Don and Dniepr rivers, where they practiced a form of participatory democracy in popular assemblies (Krugs) and elected their own military leaders (Atamans). While other cossacks would end up pledging their loyalty to one state or another, the Zaporozhian Cossacks in Ukraine were able to maintain their independence. The Zaporozhians were made up of a broad mix of peoples, including those who had fled from serfdom, who as "free Ukrainians" held their own land and were mobilized as part of the Zaporozhian host. The Ukrainian cossacks fought against the Poles, Russians and Ottomans alike, organized into decentralised regiments (polks) and squadrons (sotnias). The Zaporozhian Sich was itself organized along democratic and egalitarian lines, where military and civilian officials were all directly elected for one-year terms and subject to instant recall by the assemblies, while its land was distributed equally among the people.

Dedicated to the preservation of "Cossack freedoms", Stenka Razin led the Don Cossacks in an uprising against the Tsarist autocracy in Russia and later Yemelyan Pugachev led the Ural Cossacks in a peasants' revolt against serfdom, but both of these rebellions were defeated. The Cossack hosts were subsequently dissolved and inducted into the Imperial Russian Army, in which they became loyal soldiers of the Russian Empire, going on to play a vital role in defeating the Napoleonic invasion of 1812 and later becoming the de facto police force in Russia. Likewise, the Zaporozhian Sich was broken up and its people were forced into either serfdom or exile, with Ukraine being brought definitively under Russian imperial rule. Nevertheless, the tradition of the "libertarian-minded warrior-peasants" persisted, setting the groundwork for the libertarian communist movement in Ukraine.

Rising radicalism Radicalism spread through Ukraine in the wake of the War of 1812, as the rise in calls for abolition of the Tsarist autocracy and serfdom led to the establishment of the Southern Society of the Decembrists in 1821. Ukrainian Decembrists were more radical than their northern counterparts, calling for the overthrow of the monarchy and its replacement with a revolutionary republic. Following the death of Alexander I, the Southern Society in Kyiv staged a revolt against the Russian Empire, but it was suppressed.

Radicalism was raised further during the Ukrainian national revival, as Brotherhoods began to advocate for Ukrainian autonomy and the replacement of the Empire with a pan-Slavic federation organized along liberal democratic lines, with Taras Shevchenko even displaying revolutionary sentiments. The Ukrainian intellectual hromadas, inspired by Russian populism, began to engage with the peasantry - leading to the rise of agrarian socialist tendencies in Ukrainian radical circles.

The most prominent of the hromadas was the one in Kyiv, founded in 1859 by populist students of the Lavrovist tendency, who emphasised the education of the peasantry and rejected revolutionary agitation. It was banned by 1863 but renewed its educational activities in 1869, spearheaded by a new generation of students led by Volodymyr Antonovych, Pavlo Chubynsky and Mykhailo Drahomanov. Continuing the democratic-federalist tradition from the Decembrists and the Brotherhoods, Mykhailo Drahomanov blended together elements from liberal democracy, agrarian socialism and Ukrainian nationalism, envisioning the final goal of the democratic-federalist movement to be the achievement of anarchy, as inspired by the works of Pierre-Joseph Proudhon. Having coined the slogan "Cosmopolitanism in the ideas and the ends, nationality in the ground and the forms," Drahomanov rejected separatism due to his philosophical anarchist opposition to nation states. Viewing national liberation as "inseparable from social emancipation", he instead encouraged for the Hromada to concentrate on building a bottom-up form of democracy of small communities organized on a federative basis.

In 1874, the Narodniks' "Going to the People" campaign culminated in a number of Ukrainian revolutionary anarchists (buntars), led by Yakov Stefanovich, organizing a peasant revolt in Chyhyryn, before being suppressed by Russian authorities. Alexander II subsequently issued the Ems Ukaz which banned the use of the Ukrainian language, resulting in the repression of the hromadas and Drahomanov's flight into exile in Geneva, where he established the Geneva Circle, the first Ukrainian socialist organisation. Drahomanov's socialist tendencies brought him into conflict with more moderate members of the Hromada, as well as the "chauvinist" and "dictatorial" Russian revolutionaries, leaving him isolated from many of his contemporaries by 1886. In Galicia, which Drahomanov had placed at the center of the Ukrainian national struggle due to its constitutionalism, Drahomanov's disciple Ivan Franko found himself persecuted by the Austrian authorities and ostracised by local religious conservatives, due to his staunch anti-clericalism.

Nonetheless, in 1890 Franko was able to found the Ukrainian Radical Party (URP), which engaged in a number of activities including the convocation of popular assemblies, the establishment of cooperatives and the education of the peasantry. In 1895, members of the URP were elected to the Galician Diet and the Austrian parliament, by which point its party congresses were beginning to call for Ukrainian independence and endorsed a number of strikes by agricultural workers. Drahomanov's death that same year accelerated a split in the organization, between orthodox radicals that stayed loyal to Drahomanov's platform, younger social democrats that had gravitated towards Marxism and nationalists who were no longer comfortable with the party's socialist line. By losing the latter two factions, the URP took on a definitively agrarian socialist platform and grew to become the second-largest of the Ukrainian political parties in Galicia.

1905 Revolution Ukrainian Jews in the Pale of Settlement had been extended a number of rights during the reign of Alexander II, but following his assassination by People's Will, a wave of pogroms broke out and the new government of Alexander III implemented the May Laws, which persecuted Jews living in the Pale. In 1903, a strike in Odesa rapidly escalated into a nationwide Ukrainian general strike, with the heavy industry centers of Kyiv, Kharkiv, Mykolaiv and Katerynoslav all experiencing mass industrial action. The Minister of Interior Vyacheslav von Plehve responded to the strike wave by propagating a number of antisemitic and anti-communist conspiracy theories about the labour movement, which resulted in another wave of pogroms breaking out in Ukraine. The living conditions of Pale nourished the growth of the Ukrainian anarchist movement, which grew particularly strong in Jewish towns, where workers' circles began to educate themselves on a number of radical ideas. Dissatisfied with the existing socialist parties, activists of the General Jewish Labour Bund, Socialist Revolutionary Party and Revolutionary Ukrainian Party all deserted party politics for anarchism. The Bread and Freedom group in London organized the distribution of anarchist literature, including the Yiddish language journals Arbeter Fraynd and Germinal, throughout much of the Pale, reaching as far as the anarchist groups in Odesa and Nizhyn.

Popular discontent with the Tsarist autocracy eventually culminated in the 1905 Revolution, during which much of the country rebelled against the Russian Empire, with a general strike in October successfully securing civil liberties and the constitution of the State Duma. But workers and peasants throughout the country, having not had any of their economic demands met, continued to openly revolt against the government. During the suppression of the revolution in December, workers' uprisings broke out in Odesa, Kharkiv and Katerynoslav, but they were unsuccessful and the revolution was brought to an end.