A after war between France, Poland and Austria apeace was concluded in October 1735 and upheld in the Treaty of Vienna in November 1738. Under its terms, Stanisław Leszczyński, the father-in-law of King Louis XV and the losing claimant to the Polish throne, received Lorraine, while Francis, in compensation for his loss, was made heir to the Grand Duchy of Tuscany, which he would inherit in 1737. While the ex king of Poland was in residence the building was known as the "Château Stanislas". Stanisław Leszczyński actually died at the Château in 1766 as did his wife Catherine Opalińska in 1747. After the Polish royals left the Château was largely ignored until it was created a French Historic monument in 1901. It is currently being restored.