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 Marly— the Machine de Marly that fed the fountains— was possibly the biggest mechanical system of its time. The water came in from afar on monumental stone aqueducts which have long ago fallen into disrepair or been torn down. Some aqueducts, such as the unfinished Canal de l'Eure, which passes through the gardens of the Château de Maintenon, were never completed for want of resources or due to the exigencies of war. Despite enormous investment in canals and machinery for hoisting water, Versailles never had a sufficient water supply for its hundreds of fountains. When the King promenaded in the