Henri III had nominated Henri of Navarre, a Protestant, as his heir. The new king, Henri IV, converted to Catholicism in 1594 with the declaration that "Paris is well worth a mass," thus convincing the Parisians to accept him as their king. He undertook a number of major public works in the city but faced constant danger from religious fanatics on both sides, particularly after granting religious tolerance to Protestants under the Edict of Nantes. After surviving at least 23 assassination attempts, he fell victim to a Catholic fanatic on 14 May 1610.
The city's escape from Attila proved a short-lived reprieve, as it was attacked and overrun in 464 by Childeric I (Childeric the Frank). His son Clovis I made the city his capital in 506 and was buried there on his death in 511, alongside St. Geneviéve.
As early as the 12th century, the distinctive character of the city's districts was emerging. The Ile de la Cité, on which the Cathedral of Notre Dame de Paris was built in 1163, was the centre of government and religious life; the Left Bank was the centre of learning, focusing on the various Church-run schools established there; and the Right Bank was the centre of commerce and finance. A league of merchants, the so-called Hanse Parisienne, was established and quickly became a powerful force in the city's affairs.
Roman rule had ceased by 508, when Clovis the Frank made the city the capital of the Merovingian dynasty of the Franks. Viking invasions during the 800s forced the Parisians to build a fortress on the Ile de la Cité. On March 28, 845 Paris was sacked by Viking raiders, probably under Ragnar Lodbrok, who collected a huge ransom in exchange for leaving.
Matters came to a head on 23 August 1572 with the St Bartholomew's Day Massacre, when Catholic mobs killed an estimated 3,000 Protestants on the instructions of King Charles VIII. His successor, King Henry III, attempted to find a peaceful solution but the city's population turned against him and forced him to flee in May 1588. The following year, he was assassinated by a fanatical Dominican monk, bringing the Valois line to a premature end.
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.
Under Roman rule, the town was thoroughly Romanised and grew considerably. It was, however, not the capital of its province, Lugdunensis Senona - that role was played by Agedincum (modern Sens, Yonne). It was Christianised in the 3rd century when St Denis became the city's first bishop. The process was not entirely peaceful - in about 250 St Denis and two companions were arrested and decapitated on the hill of Mons Mercurius, thereafter known as Mons Martis (Martyrs' Hill, now Montmartre).
Some Parisians welcomed the occupation forces and accepted their presence and their business. Most simply kept their heads down, enduring the rationing and in some cases exploiting the profitable opportunities that it brought. Some actively resisted, but faced the constant threat of torture and death at the hands of the Gestapo and the pro-Vichy Milice (militia).
A general uprising in Paris followed with three days of fighting between loyalists and rebels, including whole regiments of the Paris garrison. The king was forced to abdicate, being replaced by the more acceptable Louis-Philippe.
Locally, inhabitants of the Paris suburbs are known as banlieusards. Inhabitants of the whole Paris metropolitan area are known as Franciliens, i.e. from Île-de-France.
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.
In 1900 Paris hosted the 1900 Summer Olympics. In late August 1944 after the battle of Normandy, Paris was liberated when the German general Dietrich von Choltitz surrendered after skirmishes to the French 2nd Armoured Division commanded by Philippe de Hauteclocque backed by the Allies.
The lines stayed mostly static for the next four years, with Paris experiencing the occasional bombardment from enemy aircraft and the giant "Big Bertha" long-distance artillery guns. The city's hedonistic life survived for a while before being subdued by the bloodshed on the front and the impact of rationing and a devastating flu epidemic in 1916. The war was finally ended by the Armistice of 11 November 1918, signed at Compiegne to the northeast of Paris.
The French Crown initially controlled little more than Paris and the surrounding region, the Ile de France, but over the centuries steadily expanded its territory and power. Paris itself developed an increasing degree of importance as a royal capital, a centre of learning and an ecclesiastical centre.
A new wall was built around Paris in 1785, this time to create a customs barrier for taxation purposes. Not surprisingly, this was a very unpopular innovation. The disastrous harvest of 1788 brought matters to a head, with widespread hunger across France and food riots in Paris.