sentence: The Norsemen ruled for over 400 years until sovereignty was transferred to Scotland by the Treaty of Perth in 1266.
modified: The Norsemen ruled for over 400 years until sovereignty was transferred to Scotland by the Treaty of Perth in 1266.