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 of Marie de Médicis" by Peter Paul Rubens were placed on display. The museum, which included the sculptures in the garden, became the finest museum of classic French art that had existed. With the advent of Napoléon and the First Empire, the status of Versailles changed. Paintings and art work that had previously been assigned to "Muséum national" and the "Musée spécial de l’École française" were systematically dispersed to other locations, and eventually the museum was closed. In accordance with provisions of the 1804 Constitution, Versailles was designated as an imperial palace for the department of the Seine-et-Oise. While Napoléon