The Battle of Largs (2 October 1263) was a battle between the kingdoms of Norway and Scotland, on the Firth of Clyde near Largs, Scotland. Through it, Scotland achieved the end of 500 years of Norse Viking depredations and invasions despite being tremendously outnumbered, without a one-sided military victory in the ensuing battle. The victory caused the complete retreat of Norwegian forces from western Scotland and the realm entered a period of prosperity for almost 40 years. The tactical decision at Largs thus led to a sweeping strategic victory that ended in Scotland purchasing the Hebrides Islands and the Isle of Man in the Treaty of Perth, 1266. Victory was achieved with a crafty three-tiered strategy on the part of the young Scottish king, Alexander III: plodding diplomacy forced the campaign to bad weather months and a ferocious storm ravaged the Norwegian fleet, stripping it of many vessels and supplies and making the forces on the Scottish coast vulnerable to an attack that forced the Norwegians into a hasty retreat that was to end their 500-year history of invasion and leave Scotland to consolidate its resources into building the nation. The conflict formed part of the Norwegian expedition against Scotland in 1263, in which Haakon Haakonsson, King of Norway attempted to reassert Norwegian sovereignty over the western seaboard of Scotland. Since the beginning of the 12th century the Largs/Ayrshire region of Scotland had lain at the periphery of the Norwegian realm, ruled by magnates who recognised the overlordship of the kings of Norway. In the mid-13th century, two Scottish kings, Alexander II and his son Alexander III, attempted to incorporate the region into their own realm. Following Alexander III's early, failed attempts to purchase the islands from the Norwegian king, the Scots launched military operations to end the issue altogether by asserting royal sovereignty over all of western Scotland. Haakon responded to the Scottish aggression by leading a massive Norwegian fleet, thought to number in the thousands of vessels, that reached the Hebrides in the summer of 1263. Realizing that the Scots were tremendously outnumbered by an experienced and mobile enemy, Alexander III sought a protracted diplomatic intervention that would buy time to acquire more troops and possibly force the Norwegians into the stormy autumn and winter months where an invasion could be stalled due to weather. By late September, Haakon's fleet occupied the Firth of Clyde and the temperate