King Alexander III of Scotland died in 1286, leaving his three-year-old granddaughter Margaret, Maid of Norway, as his heir. In 1290, the Guardians of Scotland signed the Treaty of Birgham agreeing to the marriage of the Maid of Norway and Edward of Caernarvon, the son of Edward I. This marriage would not create a union between Scotland and England because the Scots insisted that the Treaty declare that Scotland was separate and divided from England and that its rights, laws, liberties and customs were wholly and inviolably preserved for all time.