The duchy was later given to a dethroned King of Poland and was dissolved in 1766. Historically the members of the family frequently married into other French nobility such as Princesses of the French royal family. The capital of the duchy was Nancy. However, Leopold I of Lorraine later moved the capital to the town of Lunéville. which was a renowned resort in the 18th century, known as the capital of Lorraine. The grand Château de Lunéville, built in 1702 for Leopold, Duke of Lorraine to replace an older palace, was the residence of the duke of Lorraine until the duchy was annexed by France in 1766. The chateau was designed in the style of Versailles to satisfy Leopold's wife, Élisabeth Charlotte d'Orléans, the niece of Louis XIV, and became known as the "Versailles of Lorraine". It includes a chapel designed by Germain Boffrand. Leopold and his wife were the parents of Prince Charles Alexander of Lorraine and Francis I, Holy Roman Emperor (through him they were the grandparents of Marie Antoinette).