The mayor's office was very important during the critical phases of the Revolution, and during Robespierre's Reign of Terror (1793–1794) it was decisive in the discovery and execution of all suspected counter-revolutionaries.
In July 1794, after the 9th Thermidor, the coup d'état that deposed and executed Robespierre and his cronies, the office of Mayor was abolished since it was perceived to be too powerful.
The provisional Government of National Defense of Louis-Jules Trochu believed that a strong leadership in Paris would prevent sedition during the Prussian siege.
After the definitive conquest of Paris by Prussians, popular discontent erupted in a new insurrectionary Commune which held socialist beliefs.
Also, in case the Commune was finally suppressed, the new national government preferred to divide Paris into several distinct mayorships (one for each arrondissement) to prevent the city's total loss in the event of further revolts.