Versailles is one of the most magnificent royal structures ever built. A simple hunting lodging and later a small château with a moat occupied the site until 1661, when the first work expanding the château into a palace was carried out for Louis XIV. In 1682, when the palace had become large enough, the king moved the entire royal court and the French government to Versailles.