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,
Palace of Versailles for the King's relaxation in the hot summers. It was surrounded by flowerbeds and decorated entirely with blue and white porcelain, in imitation of the Chinese style. The King increasingly spent his days in Versailles, and the government, court, and courtiers, numbering six to seven thousand persons, crowded into the buildings. The King ordered a further enlargement, which he entrusted to the young architect Jules Hardouin-Mansart. Hadouin-Mansart added two large new wings on either side of the original Cour Royale (Royal Courtyard). He also replaced Le Vau's large terrace, facing the garden on the west, with what became the most