Throughout the early 13th century, the king of Scots, Alexander II, had aggressively tried to expand his realm into the Suðreyjar, despite Edgar's earlier quitclaim. This led to hostility between Norway and Scotland, which continued under Alexander III. King Haakon IV of Norway died shortly after the indecisive Battle of Largs. In 1266, his more peaceable successor ceded his nominal authority over the Suðreyjar to Alexander III by the Treaty of Perth in return for a very large sum of money. Alexander generally acknowledged the semi-independent authority of Somerled's heirs; the former Suðreyjar had become Scottish crown dependencies rather than parts of Scotland.