In this task, you're given a passage, further information available on a particular linked term from the statement, and an answer term. Your job is to generate a question that can use the information provided to obtain the given answer. You should use the information on both passage and link information to create the question. Note that the answer to the question should be exactly the given answer, and if the answer is none, the answer to the question shouldn't be obtainable from the passage or linked information.

Passage: John Wemyss was knighted in 1618 and created a Baronet of Nova Scotia in 1625. This included a charter to the barony of New Wemyss in that province of Canada. He was later advanced to the title of Earl of Wemyss and the patent was presented to him at Dunfermline personally by Charles I of England. John Wemyss was also a Privy Councillor, High Commissioner to the General Assembly of the Church of Scotland, and one of the Committee of the Estates. John Wemyss died in 1649 and was succeeded by his only son, David Wemyss, 2nd Earl of Wemyss. David Wemyss, the second earl spent a lifetime nurturing the resources of his estate, in particular his salt and coal mines. He also built a large harbour at Methil, Fife and greatly extended Wemyss Castle where he entertained Charles II of England in 1650 and 1651. He died in 1679 and was predeceased by his son so the estates fell to his daughter, Margaret Wemyss, 3rd Countess of Wemyss. Margaret married her cousin, James Wemyss, Lord Burntisland. Their son was David Wemyss, 4th Earl of Wemyss who succeeded his mother in 1705.
Link Information: She succeeded to the family title in 1679, as the only child to outlive her father.

On 28 March 1672 Answer: 26
How many years did the 2nd Earl of Wemyss' daughter rule?