Cosimo III de' Medici was the sixth and penultimate Medici Grand Duke of Tuscany. He reigned from 1670 to 1723, and was the elder son of Grand Duke Ferdinando II. Cosimo's 53-year-long reign, the longest in Tuscan history, was marked by a series of laws that regulated prostitution and May celebrations. His reign also witnessed Tuscany's deterioration to previously unknown economic lows. He was succeeded by his elder surviving son, Gian Gastone, when he died, in 1723.
He married Marguerite Louise d'Orléans, a cousin of Louis XIV. The marriage was solemnized by proxy in the King's Chapel at the Louvre, on Sunday, 17 April 1661. It was a marriage fraught with tribulation. Marguerite Louise eventually abandoned Tuscany for the Convent of Montmartre. Together, they had three children: Ferdinando in 1663, Anna Maria Luisa, Electress Palatine, in 1667, and Gian Gastone, the last Medicean ruler of Tuscany, in 1671.
In later life, he attempted to have Anna Maria Luisa recognised as the universal heiress of Tuscany, but Charles VI, Holy Roman Emperor, would not allow it because Tuscany was an imperial fief, and he felt he alone could alter the Tuscan laws of succession.