Question: John Balliol became the King of Scotland after the princess from what country passed away?

full_context: Document 1: Murchadh Mac Suibhne: Murchadh Mac Suibhne (died 1267) was a prominent 13th-century noble. Murchadh was a son of Maol Mhuire an Sparáin, son of Suibhne, eponymous ancestor of the Clann Suibhne. Murchadh led the dispossessed clan pressed into King Hakon IV of Norway's service during King Hakon's 1263 expedition. Clann Suibhne were required to surrender hostages to King Hakon as guarantee for their support. Murchadh was granted Arran, however these lands were lost shortly after the Battle of Largs and he appears to have fled to Ireland. He was taken prisoner by Domnall Mac Maghnusa in 1265 and was imprisoned by Walter de Burgh, Earl of Ulster and died shortly afterwards.
Document 2: John Balliol (disambiguation): John Balliol (also known as John of Scotland or John I of Scotland was King of Scots from 1292 to 1296.
Document 3: John Balliol (play): John Balliol, An Historical Drama In Five Acts (1825) by William Tennant. John Balliol is depicted as "a weak leader", influenced by his mother Dervorguilla of Galloway, while his rival Robert de Brus, 5th Lord of Annandale is depicted as a "noble hero". But John is the one whose crowning is honoured by "ten thousand nobles". The play has several supernatural elements, such as a seer, omens and even references to ghosts. Valentina Bold points out that there are many similarities to "The Royal Jubilee" (1822) by James Hogg.
Document 4: Mary, Queen of Scots: Mary, Queen of Scots (8 December 1542 – 8 February 1587), also known as Mary Stuart or Mary I, reigned over Scotland from 14 December 1542 to 24 July 1567.
Document 5: Margaret, Countess of Pembroke: Margaret of England (20 July 1346 – October/December 1361) was a royal princess born in Windsor, the daughter of King Edward III of England and his consort, Philippa of Hainault. Margaret would be the last princess born to a reigning English monarch for over a century, until the birth of Elizabeth of York in 1466. She was also known as Margaret of Windsor.
Document 6: England and King David I: The relationship between the Kingdom of England and King David I, who was King of Scotland between 1124 and 1153, was partly shaped by David's relationship with the particular King of England, and partly by David's own ambition. David had a good relationship with and was an ally of Henry I of England, the King who was largely responsible for David's early career. After Henry's death, David upheld his support for his niece, the former Empress-consort, Matilda, and expanded his power in northern England in the process, despite his defeat at the Battle of the Standard in 1138.
Document 7: Maria van Arkel: Maria van Arkel (c. 1385 – 19 July 1415) was the only daughter and heiress of Lord John V of Arkel and Joanna of Jülich. She inherited the title to Gelderland from her maternal uncle, Duke Reginald IV, and her son became Arnold, Duke of Gelderland. She was the paternal grandmother of Mary of Guelders, who became Queen of Scots.
Document 8: Edward II of England: Edward II (25 April 1284 – 21 September 1327), also called Edward of Caernarfon, was King of England from 1307 until he was deposed in January 1327. The fourth son of Edward I, Edward became the heir to the throne following the death of his older brother Alphonso. Beginning in 1300, Edward accompanied his father on campaigns to pacify Scotland, and in 1306 he was knighted in a grand ceremony at Westminster Abbey. Edward succeeded to the throne in 1307, following his father's death. In 1308, he married Isabella of France, the daughter of the powerful King Philip IV, as part of a long-running effort to resolve the tensions between the English and French crowns.
Document 9: Château de Hélicourt: Château de Hélicourt was a castle near Tilloy-Floriville, Picardy, France. The former King of Scotland, Sir John Balliol, retired to the castle after being released by Pope Boniface VIII and ended his days at the castle.
Document 10: Edward I of England: Edward I (17/18 June 1239 – 7 July 1307), also known as Edward Longshanks and the Hammer of the Scots (Latin: "Malleus Scotorum" ), was King of England from 1272 to 1307. He spent much of his reign reforming royal administration and common law. Through an extensive legal inquiry, Edward investigated the tenure of various feudal liberties, while the law was reformed through a series of statutes regulating criminal and property law. Increasingly, however, Edward's attention was drawn towards military affairs.
Document 11: Kingdom of Scotland: The Kingdom of Scotland (Scottish Gaelic: "Rìoghachd na h-Alba" ; Scots: "Kinrick o Scotland" ) was a sovereign state in northwest Europe traditionally said to have been founded in 843, which joined with the Kingdom of England to form a unified Kingdom of Great Britain in 1707. Its territories expanded and shrank, but it came to occupy the northern third of the island of Great Britain, sharing a land border to the south with the Kingdom of England. It suffered many invasions by the English, but under Robert I it fought a successful war of independence and remained a distinct state in the late Middle Ages. In 1603, James VI of Scotland became King of England, joining Scotland with England in a personal union. In 1707, the two kingdoms were united to form the Kingdom of Great Britain under the terms of the Acts of Union. From the final capture of the Royal Burgh of Berwick by the Kingdom of England in 1482 (following the annexation of the Northern Isles from the Kingdom of Norway in 1472) the territory of the Kingdom of Scotland corresponded to that of modern-day Scotland, bounded by the North Sea to the east, the Atlantic Ocean to the north and west, and the North Channel and Irish Sea to the southwest.
Document 12: Ruadhri of Bute: Ruadhri is an obscure 13th-century noble, who claimed the Isle of Bute through hereditary descent. Outlawed by King Alexander III of Scotland, because of attacks against Scottish lands, which he had undertaken as a result of him being denied his declared patrimony to the Isle of Bute through his hereditary right. When King Hakon IV of Norway began his 1263 expedition against Scotland, Ruadhri presented himself to Hakon and swore fealty to the King of Norway. He was allowed to participate in the attack on Bute, as part of the campaign, with Rothesay Castle surrendering. He took revenge on the garrison killing nine upon their retreat. He was granted the Isle of Bute by King Hakon, however he disappears from contemporary records shortly afterwards.
Document 13: John Balliol: John Balliol (  1249 – late 1314), known derisively as "Toom Tabard" (meaning "empty coat") was King of Scots from 1292 to 1296. Little is known of his early life. After the death of Margaret, Maid of Norway, Scotland entered an interregnum during which several competitors for the Crown of Scotland put forward claims. Balliol was chosen from among them as the new King of Scotland by a group of selected noblemen headed by King Edward I of England. Edward used his influence over the process to subjugate Scotland and undermined Balliol's personal reign by treating Scotland as a vassal of England. Edward's influence in Scottish affairs tainted Balliol's reign and the Scottish nobility deposed him and appointed a council of twelve to rule instead. This council signed a treaty with France known as the Auld Alliance.
Document 14: Margaret, Maid of Norway: Margaret, Maid of Norway (9 April 1283 – 26 September 1290) was a Norwegian princess who was recognised as Queen of Scots following the death of her grandfather, King Alexander III, in March 1286. Her death in Orkney while travelling to Scotland sparked off the disputed succession which led to the Wars of Scottish Independence.
Document 15: Margaret Tudor: Margaret Tudor (28 November 1489 – 18 October 1541) was Queen of Scots from 1503 until 1513 by marriage to James IV of Scotland and then, after her husband died fighting the English, she became regent for their son James V of Scotland. She was born at Westminster Palace as the oldest daughter of Henry VII of England and Elizabeth of York, and granddaughter of Margaret Beaufort, Edward IV of England and Queen Elizabeth Woodville. Margaret Tudor had several pregnancies, but most of her children died young or were stillborn. As queen dowager she married Archibald Douglas, 6th Earl of Angus. Through her first and second marriages, respectively, Margaret was the grandmother of both Mary, Queen of Scots, and Mary's second husband, Lord Darnley. Margaret's marriage to James IV foreshadowed the Union of the Crowns – their great-grandson, James VI and I, was the first to be monarch of both Scotland and England.
ground_truth: Norwegian