Versailles, formerly de facto capital of the kingdom of France, is now a wealthy suburb of Paris and is still an important administrative and judicial centre. The city (commune) of Versailles, located in the western suburbs of Paris, 17.1 km (10.6 mi) from the centre of Paris, is the préfecture (capital) of the Yvelines département.
Versailles was the unofficial capital city of the kingdom of France from May 1682, when King Louis XIV moved the court and government permanently to Versailles, until September 1715, when Louis XIV died, and then again from June 1722, when Louis XV returned to Versailles permanently, to October 1789, when Louis XVI was forced to move back to Paris. During the entire period, Paris remained the official capital city of France, and the official royal palace was the Louvre, but in practice government affairs were conducted from Versailles, which was regarded as the real capital city.
The Palace of Versailles became the standard model for royal residences in 18th-century Europe, hosted the peace ceremonies ending the Franco-Prussian War and World War I, and currently serves as an important French history museum.