Grand Trianon Mansart; this wing, called "Trianon-sous-Bois", housed the Orléans family, including Louis XIV's legitimised daughter Françoise-Marie de Bourbon. The King's youngest grandson Charles de France and his wife Marie Louise Élisabeth d'Orléans also resided there. The Orléans family, who had apartments at the Palace of Versailles, were later replaced by Françoise-Marie's sister; the Duchess of Bourbon, "Madame la Duchesse" lived at the Trianon and later built the Palais Bourbon in Paris, the design of the palace being copied on that of the Trianon. In 1717, Peter the Great of Russia, who was studying the palace and gardens of Versailles, resided at
Palace of the Shirvanshahs of the "palace". The building is believed to be a memorial complex built around the sacred place of worship (pir) and tomb of Seyyid Yaxya Bakuvi who was a Helwati Sufi saint. The Shirvanshahs were patrons of the Helwati Sufiye order, and Shirvanshah Khalilullah I was buried with his family in the grounds of the palace. Other historians argue that the building was used as the ruler's palace. Both theories suffer from the absence of evidence. It is known that wells inside the grounds of the "palace" were considered to have healing qualities until recent times, as was the hill