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,
History of the Palace of Versailles XIV's; in a word, it is having given to this magnificent book that is called French history this magnificent binding that is called Versailles" (Victor Hugo). Later, Balzac characterised the effort in less laudatory terms as the “hospital of the glories of France”. The southern wing (Aile du Midi) was given over to the Galerie des Batailles (Hall of Battles), which necessitated the demolition of most of the apartments of the Princes of the Blood who lived in this part of the palace during the Ancien Régime. The Galerie des Batailles was modeled on the Grande Galerie of the Louvre