Versailles (French pronunciation: [vɛʁsɑj] (listen)) is a commune in the department of the Yvelines, Île-de-France, renowned worldwide for the Château de Versailles and the gardens of Versailles, designated UNESCO World Heritage Sites. Located in the western suburbs of the French capital, 17.1 km (10.6 mi) from the centre of Paris, Versailles is a wealthy suburb of Paris with a service-based economy and is a major tourist destination. According to the 2017 census, the population of the city is 85,862 inhabitants, down from a peak of 94,145 in 1975.A new town founded at the will of King Louis XIV, Versailles was the de facto capital of the Kingdom of France for over a century, from 1682 to 1789, before becoming the cradle of the French Revolution. After having lost its status of royal city, it became the préfecture (regional capital) of the Seine-et-Oise département in 1790, then of Yvelines in 1968.