At the age of 15, he married his second cousin, Marie Adélaïde of Savoy, the daughter of Victor Amadeus II, Duke of Savoy and Anne Marie d'Orléans. This match had been decided as part of the Treaty of Turin, which ended Franco-Savoyard conflicts during the Nine Years' War. The marriage took place on 7 December 1697 at the Palace of Versailles. The two were in love with one another, a rarity at the court of Versailles.