Royal Palace of La Granja de San Ildefonso (farm) alongside the lodge and shrine. The site was purchased from the monks in 1719 by King Philip V, after his summer palace nearby at Valsaín burned to a shell. He was the first Spanish king from the French Bourbon dynasty. Beginning in 1721, Philip began building a new palace and gardens modeled on Versailles, built by his grandfather, Louis XIV of France. Like Versailles it embraced a "cour d'honneur" on the approaching side, and formal gardens, with a main axis centred on the palace, that were surrounded by woodland in which further hidden garden features were disposed. Like Versailles,
Louis XIV of France Work". Over the course of four building campaigns, Louis converted a hunting lodge built by Louis XIII into the spectacular Palace of Versailles. With the exception of the current Royal Chapel (built near the end of Louis' reign), the palace achieved much of its current appearance after the third building campaign, which was followed by an official move of the royal court to Versailles on 6 May 1682. Versailles became a dazzling, awe-inspiring setting for state affairs and the reception of foreign dignitaries. At Versailles, the king alone commanded attention. Several reasons have been suggested for the creation of the