The new rulers organised themselves into a five-man Directoire but had only a shaky grip on power. In 1795 they were saved from a royalist revolt by a young army officer named Napoleon Bonaparte, who dispersed a hostile Parisian mob by the simple expedient of firing into it with cannons at point-blank range.
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.
By this time, Paris was a typically crowded early medieval city with timber buildings alongside surviving Roman remains. According to the chronicler Geoffrey of Tours, it suffered a disastrous fire in 585. The city grew beyond the boundaries of the Ile, with suburbs being established on both banks of the river.
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.
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.
Paris is densely covered by a metro system, the Métro, as well as by a large number of bus lines. This interconnects with a high-speed regional network, the RER, and also the train network: commuter lines, national train lines, and the TGV (or derivatives like Thalys or Eurostar for specific destinations). There are two tangential tramway lines in the suburbs: Line T1 runs from Saint-Denis to Noisy-le-Sec, line T2 runs from La Défense to Issy. A third line along the southern orbital road is currently under construction.
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.
In June 1944, Allied forces (including the Free French under General Charles de Gaulle) invaded Normandy. Two months later they broke through German lines and advanced rapidly across France. An uprising broke out in Paris on 19 August, led by the Resistance and the city's Police.
Less positively and very controversially, the ancient market at Les Halles was demolished and replaced with a notoriously ugly underground shopping mall, and the 209m Tour Montparnasse skyscraper was built leading to fears that Paris would become overrun with American-style skyscrapers (a move strongly resisted ever since).