The growing threat that Clan Donald posed to the Scottish crown led to the forcible dissolution of the Lordship of the Isles by James IV in 1493, but although the king had the power to subdue the organised military might of the Hebrides, he and his immediate successors lacked the will or ability to provide an alternative form of governance. The House of Stuart's attempts to control the Outer Hebrides were then at first desultory and little more than punitive expeditions. In 1506 the Earl of Huntly besieged and captured Stornoway Castle using cannon. In 1540 James V himself conducted a royal tour, forcing the clan chiefs to accompany him. There followed a period of peace, but all too soon the clans were at loggerheads again.