who had the palace of Versailles built

The Palace of Versailles was built by King Louis XIV of France. It was initially constructed as a hunting lodge in the 17th century but was expanded into one of the largest and most opulent palaces in the world under Louis XIV's reign.