The Paris Commune was a radical socialist, anti-religious, and revolutionary government that ruled Paris from 18 March to 28 May 1871. The Franco-Prussian War had led to the capture of Emperor Napoleon III in September 1870, the collapse of the Second French Empire, and the beginning of the Third Republic. Because Paris was under siege for four months, the Third Republic moved its capital to Tours. A hotbed of working-class radicalism, Paris was primarily defended during this time by the radical troops of the National Guard rather than regular Army troops. Paris surrendered to the Prussians on 28 January 1871, and in February Adolphe Thiers, the new chief executive of the French national government, signed an armistice with Prussia that disarmed the Army but not the National Guard.
On 18 March, soldiers of the Commune's National Guard killed two French army generals, and the Commune refused to accept the authority of the French government. The Commune governed Paris for two months, until it was suppressed by the regular French Army during "La semaine sanglante" ("The Bloody Week") beginning on 21 May 1871.
Debates over the policies and outcome of the Commune had significant influence on the ideas of Karl Marx, who described it as the first example of the "dictatorship of the proletariat".