only nine days; with tremendous popular support, Mary deposed her and declared herself the lawful sovereign. Mary I married Philip of Spain, who was declared king and co-ruler. He pursued disastrous wars in France and she attempted to return England to Roman Catholicism (burning Protestants at the stake as heretics in the process). Upon her death in 1558, the pair were succeeded by her Protestant half-sister Elizabeth I. England returned to Protestantism and continued its growth into a major world power by building its navy and exploring the New World. Scottish monarchy In Scotland, as in England, monarchies emerged after the withdrawal of the Roman Empire from Great Britain in the early fifth century. The three groups that lived in Scotland at this time were the Picts in the northeast, the Britons in the south, including the Kingdom of Strathclyde, and the Gaels or Scotti (who would later give their name to Scotland), of the Irish petty kingdom of Dál Riata in the west. Kenneth MacAlpin is traditionally viewed as the first king of a united Scotland (known as Scotia to writers in Latin, or Alba to the Scots). The expansion of Scottish dominions continued over the next two centuries, as other territories such as Strathclyde were absorbed. Early Scottish monarchs did not inherit the Crown directly; instead, the custom of tanistry was followed, where the monarchy alternated between different branches of the House of Alpin. There was an elective element to early Scottish kings and this practice lingered for much longer in Scotland. For example, the first Stewart monarch, Robert II, was selected from among eligible royal males at Linlithgow in 1370 by the Three Estates of the Scottish Parliament. However, as a result of this elective element, the rival dynastic lines clashed, often violently. From 942 to 1005, seven consecutive monarchs were either murdered or killed in battle. In 1005, Malcolm II ascended the throne having killed many rivals. He continued to ruthlessly eliminate opposition, and when he died in 1034 he was succeeded by his grandson, Duncan I, instead of a cousin, as had been usual. In 1040, Duncan suffered defeat in battle at the hands of Macbeth, who was killed himself in 1057 by Duncan's son Malcolm. The following year, after killing Macbeth's stepson Lulach, Malcolm ascended the throne as Malcolm III. With a further series of battles and deposings, five of Malcolm's sons as well