13035
He then served as governor of Stirling Castle and as an ambassador and diplomat taking a leading role in the negotiations which led to the marriage of  James  and  Margaret of Denmark  in 1469 .
 spouse: James, Margaret of Denmark
Given a phrase that describes the relationship between two words, extract the words and the lexical relationship between them. The output format should be "relation1: word1, word2; relation2: word3, word4". 
Option: cities of residence, top members employees, members, alternate names, origin, state or provinces of residence, title of person, spouse, city of headquarters, NA, founded by, state or province of headquarters, employee of, countries of residence, country of birth, founded, subsidiaries, country of headquarters 
Text: {0} 
Answer:
 spouse: James, Margaret of Denmark