instruction:
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.
question:
Passage: Forman and Bishop William Elphinstone of Aberdeen were the principal envoys who brokered a seven-year truce with King Henry VII of England at Aytoun in September 1497. They were assisted by the Spanish ambassador Pedro de Ayala, who recommended in May 1498 that diplomatic correspondence to Scotland should be copied to Forman, his influential friend. The search for a queen for James began in 1499 when negotiators were appointed to treat with King Henry for the marriage of his eldest daughter, Princess Margaret. Dispensation from the pope for the marriage was received as both James and Margaret were cousins, descended from John Beaufort, Marquess of Dorset. On 8 October 1501, Forman, now postulate to the see of Moray, was commissioned along with Robert Blackadder, Archbishop of Glasgow and Patrick Hepburn, 1st Earl of Bothwell to conclude the treaty of marriage. In that same year, King Henry, in gratitude for his services required that Thomas Savage, Archbishop of York institute Forman as Rector of the parish church of Cottingham. On 26 November 1501, Pope Alexander VI provided Forman to the bishopric of Moray and then only a few months later in 1502, Bishop Forman concluded the Treaty of Perpetual Peace with England at Richmond Palace. The formal proceedings that finally concluded the marriage terms of King James and Margaret Tudor were conducted in Glasgow Cathedral on 10 December 1502 where Forman was a signatory. He was then appointed as a commissioner to oversee the exchange of the ratified marriage treaties at the courts of Henry and James. James designated Forman to conduct Margaret to Scotland but while in England, gave King Henry an undertaking that the King of Scots would not renew the league with France unless Henry was first consulted. The procession to Scotland took them to Fast Castle near Berwick where they stayed with Forman's sister Isabel and her husband Alexander Oliphant of Kellie. In 1509, Forman became commendator of Dryburgh Abbey and tried unsuccessfully to obtain the commendatorship of the wealthy abbey of Kelso in 1511. The lands and possessions of the parson of Boleskin, south of Inverness were given to Forman (as bishop of Moray) in 1511 and then in 1512 he became the Keeper of the castle of Darnaway, near Forres, Chamberlain of Moray and Custumar north of the River Spey.
 Link Information: Margaret Tudor (28 November 1489 – 18 October 1541) Answer: 10
answer:
How old was King Henry's eldest daughter when the search for a queen for James began?


question:
Passage: His own military genius blossomed during the Napoleonic Wars. During the 1805 Campaign, Yermolov served in the rear and advance guards and distinguished himself at Amstetten and Austerlitz. For his actions, he was promoted to colonel on 16 July 1806. The following year, he participated in the campaign in Poland, serving in Prince Bagration's advance guard. He distinguished himself commanding an artillery company in numerous rearguard actions during the retreat to Landsberg as well as in the Battle of Eylau. In June 1807, Yermolov commanded horse artillery company in the actions at Guttstadt, Deppen, Heilsberg and Friedland, being awarded the Order of St. George (3rd class, 7 September 1807). He was promoted to major general on 28 March 1808 and was appointed inspector of horse artillery companies. In early 1809, he inspected artillery companies of the Army of the Danube. Although his division took part in the 1809 campaign against Austria, Yermolov commanded the reserves in Volhynia and Podolsk gubernias, where he remained for the next two years. In 1811, he took command of the guard artillery company and in 1812, became the Chief of Staff of the 1st Western Army.
 Link Information: The Battle of Friedland (June 14, 1807) Answer: the Battle of Guttstadt-Deppen
answer:
Which of the battles that Yermolov commanded during June 1807 occurred first?


question:
Passage: France–United Kingdom relations are the relations between the governments of the French Republic and the United Kingdom of Great Britain and Northern Ireland (UK). The historical ties between France and the UK, and the countries preceding them, are long and complex, including conquest, wars, and alliances at various points in history. The Roman era saw both areas, except northern England and Scotland, conquered by Rome, whose fortifications exist in both countries to this day, and whose writing system introduced a common alphabet to both areas; however, the language barrier remained. The Norman conquest of England in 1066 decisively shaped English history, as well as the English language. In the medieval period, the countries were often bitter enemies, with both nations' monarchs claiming control over France. Some of the noteworthy conflicts include the Hundred Years' War and the French Revolutionary Wars which were French victories, and the Seven Years' War, Second Hundred Years’ War and Napoleonic Wars, from which Britain emerged victorious.
 Link Information: The Seven Years' War was a global war fought between 1756 and 1763 Answer: the Seven Years' war 
answer:

Which war occured first, the Seven Years' war or the Napoleonic Wars?