The victor was, to the surprise of many, Louis-Napoleon Bonaparte - the nephew of the late Emperor. He won by an overwhelming majority (receiving 75% of the votes cast) but was not content with being a mere president. On 2 December 1851 he seized power in a coup, declared himself the Emperor Napoleon III and settled in the Tuileries Palace.
The next four years saw an increasingly brutal occupation regime imposed on the city. On the surface, things continued much as before - the "City of Light" was an extremely popular assignment for German forces and a favourite destination for those with time off.
The city was neglected by the Empire and suffered grievously from Viking raiders who repeatedly sailed upriver to attack it. On March 28, 845 Paris was sacked by Viking raiders, probably under Ragnar Lodbrok, who collected a huge ransom in exchange for leaving. The weakness of the late Carolingian kings led to the gradual rise in power of the Counts of Paris.
The furious crowd began attacking the palace and were only placated when Louis himself appeared and agreed to return to Paris with his family. The royal family were reduced to virtual prisoners in the Tuileries. They tried to escape on 20 June 1791 but were caught and returned to Paris as captives.
As an exception to the normal rules for French cities, some powers normally vested in the mayor of the city are instead vested in a representative of the national government, the Prefecture of Police which also controls the Paris Fire Brigade. As an example, Paris has no municipal police force, though it has some traffic wardens. This is a legacy of the situation that up to 1977, Paris had no mayor and was essentially run by the prefectoral administration.
Algeria gained its independence in 1962 and over 700,000 French colonists and pro-French Algerians migrated to the mother country, many to Paris. In response, the government built huge new residential suburbs - the now-notorious banlieues of Paris - which rapidly gained a reputation for soulless architecture, deprivation, racial tension and crime.
Chirac also suffered problems, although he was lucky that the worst of these did not emerge until after his election as President in May 1995. He was soon embroiled in a number of corruption scandals, many dating from his period as mayor when - allegedly - corrupt "favours" for relatives and party supporters were granted.
An invading Prussian army heading for Paris was defeated shortly afterwards, clearing the way for the bloodiest phase of the Revolution. A guillotine was erected in what is now the Place de la Concorde and was used on 21 January 1793 to execute Louis XVI. Marie Antoinette followed in October 1793.
At the same time, Paris acquired a less savoury reputation as the "sin capital of Europe", with hundreds of brothels, revues and risqué cabarets such as the famous Moulin Rouge. The city also acquired its metro system, opened in 1900.
Although the Third Republic was widely disliked for its political instability and corruption, it did manage to deliver a golden age - a belle epoque - for Paris. The city acquired many distinctive new monuments and public buildings, foremost among them the Eiffel Tower, constructed for the World Exhibition of 1889. It was renowned as a centre for the arts, with the Impressionists taking their inspiration from its new vistas.
Louis' reign saw major changes to the face of Paris; his mother commissioned the Palais du Luxembourg, while Cardinal Richelieu built the Palais Royal and rebuilt the Sorbonne. He also commissioned a number of major Baroque churches as a statement of the Catholic Counter-Reformation.
Formerly the capital of a colonial empire stretching over five continents, Paris is still regarded as the heart of the French-speaking world and has retained a strong international position, hosting the headquarters of the OECD and the UNESCO among others. This, combined with its financial, business, political, and tourism activities, have turned Paris into one of the major transportation hubs on Earth, and Paris is recognized as one of a handful of "world cities".
The city was saved, however, by a desperate French effort to reinforce their lines and by a German failure to press home the attack. In the most famous incident of the "miracle on the Marne", as it became known, thousands of Parisian taxis were commandeered to carry soldiers to the front lines. The Germans were pushed back to the Oise some 75 miles away from the city.
A concentration camp was established in the Parisian suburb of Drancy to serve as a waystation en route to Auschwitz. Some 70,000 people passed through the camp. Contrary to later assertions by postwar French governments, the camp was run by the French authorities on behalf of the Nazis until July 1943, and the roundups were orchestrated by the Vichy French police. This was only acknowledged by the French government in 1995 and memorialised only as recently as 2001.
Citizens of Paris elect in each arrondissement some municipal council members. Each arrondissement has its own council, which elects the mayor of the arrondissement. Some members of the arrondissement councils form the Council of Paris, which elects the mayor of Paris, and has the double functions of a municipal council and the general council of the département.