Question: Sir Andrew Wood of Largo died in 1515, while James III of Scotland dies before him in which year?
Context: Viscount of Stormont is a title in the Peerage of Scotland.  It was created in 1621 by James VI for his friend and helper Sir David Murray who had saved him from the attack of Earl Gowrie in 1600.  Murray had already been created Lord Scone, also in the Peerage of Scotland in 1605.  The peerages were created with remainder to 1) Sir Mungo Murray, fourth son of John Murray, 1st Earl of Tullibardine, failing which to 2) John Murray, who was created Earl of Annandale in 1625, and failing which to 3) Sir Andrew Murray, who was created Lord Balvaird in 1641.  Lord Stormont died childless and was succeeded according to the special remainder by the aforementioned Mungo Murray, the second Viscount.  He died without male issue and was succeeded according to the special remainder by James Murray, 2nd Earl of Annandale, who now also became the third Viscount Stormont.  He was the son of the aforementioned John Murray, 1st Earl of Annandale.  He was also childless and on his death in 1658 the earldom became extinct. Canadian professor, physician, and intellectual Sir Andrew Macphail was born in Orwell on November 24, 1864.  The Sir Andrew Macphail Foundation preserves his family home and its 140-acre property in Orwell as a museum, the Sir Andrew Macphail Homestead.  The Homestead is the site of the Macphail Woods Ecological Forestry Project, a joint effort of the Foundation and the Environmental Coalition of Prince Edward Island to preserve the old-growth Acadian Forest covering much of the property. Sir Andrew de Leslie II, eldest son of Sir Andrew de Leslie I, by his wife Mary Abernethy, succeeded his father as head of the Leslie Family.  before 1325, and appears to have died before 1353, leaving his son also called Sir Andrew as his successor. James III (10 July 1451/May 1452 – 11 June 1488) was King of Scots from 1460 to 1488.  James was an unpopular and ineffective monarch owing to an unwillingness to administer justice fairly, a policy of pursuing alliance with the Kingdom of England, and a disastrous relationship with nearly all his extended family.  However, it was through his marriage to Margaret of Denmark that the Orkney and Shetland islands became Scottish. Malfunkshun: The Andrew Wood Story is a 2005 documentary film based on the life of Andrew Wood, singer/songwriter for the Seattle-based alternative rock bands Malfunkshun and Mother Love Bone.  The film includes interviews with fellow Seattle musicians and friends such as Chris Cornell, Kim Thayil, Jeff Ament, and Stone Gossard. Sir Andrew Wood of Largo (died 1515) was a Scottish sea captain.  Beginning as a merchant in Leith, he was involved in national naval actions and rose to become Lord High Admiral of Scotland.  He was knighted c. 1495.  He may have transported James III across the Firth of Forth to escape the rebels in 1488. Sir Andrew Murray (1298–1338), also known as Sir Andrew Moray, or Sir Andrew de Moray, was a Scottish military and political leader who supported David II of Scotland against Edward Balliol and King Edward III of England during the so-called Second War of Scottish Independence.  He held the lordships of Avoch and Petty in north Scotland, and Bothwell in west-central Scotland.  In 1326 he married Christina Bruce, a sister of King Robert I of Scotland.  Murray was twice chosen as Guardian of Scotland, first in 1332, and again from 1335 on his return to Scotland after his release from captivity in England.  He held the guardianship until his death in 1338. Sir Andrew Aguecheek (also spelled Ague-cheek) is a comic character in William Shakespeare's play "Twelfth Night, or What You Will".  One of the minor characters, Sir Andrew is a stereotypical fool, who is goaded into unwisely duelling with Cesario and who is slowly having his money pilfered by Sir Toby Belch.  He is dim-witted, vain and clownish.  His role in the play not only provides comedy through his pathetic situation and his long speech, but also by his distinct, long-faced appearance and garish dress sense.  The role has been a favourite for noted actors such as Alec Guinness, Christopher Plummer, Paul Scofield and Roger Rees. Sir Andrew Agnew, 3rd Baronet (died 1702) was the son of Sir Andrew Agnew, 2nd Baronet and Lady Anne Stewart. Lord Gray is a title in the Peerage of Scotland.  It was created circa July 1445 for the Scottish diplomat and politician Sir Andrew Gray.  The first Lord Gray was a hostage in England for the good conduct of James I of Scotland from 1424 to 1427, and was one of the knights who accompanied Lady Margaret Stewart to France for her marriage to Louis XI of France in 1436.  He was also a Commissioner to England between 1449 and 1451, Master of the Household to James II of Scotland in 1452, and a Warden of the Marches in 1459.  In June 1489 King James IV granted to Andrew, Lord Gray, the lands and Barony of Lundie [RGS.II.1860].
Answer: 1488