in Kirklees and Ormskirk and the by of Whitby and Grimsby all have Norse roots. Norman Conquest and the Middle Ages The 1066 defeat of the Norwegian king Harald Hardrada by the Anglo-Saxon Harold Godwinson at the Battle of Stamford Bridge near York marked the beginning of the end of Viking rule in England, and the almost immediate defeat of Godwinson at the hands of the Norman William the Conqueror at the Battle of Hastings was in turn the overthrow of the Anglo-Saxon order. The Northumbrian and Danish aristocracy resisted the Norman Conquest, and to put an end to the rebellion, William ordered the Harrying of the North. In the winter of 1069–1070, towns, villages and farms were systematically destroyed across much of Yorkshire as well as northern Lancashire and County Durham. The region was gripped by famine and much of Northern England was deserted. Chroniclers at the time reported a hundred thousand deaths – modern estimates place the total somewhere in the tens of thousands, out of a population of two million. When the Domesday Book was compiled in 1086, much of Northern England was still recorded as wasteland, although this may have been in part because the chroniclers, more interested in manorial farmland, paid little attention to pastoral areas. Following Norman subjugation, monasteries returned to the North as missionaries sought to "settle the desert". Monastic orders such as the Cistercians became significant players in the economy of Northern England – the Cistercian Fountains Abbey in North Yorkshire became the largest and richest of the Northern abbeys, and would remain so until the Dissolution of the Monasteries. Other Cistercian abbeys are at Rievaulx, Kirkstall and Byland. The 7th-century Whitby Abbey was Benedictine and Bolton Abbey, Augustinian. A significant Flemish immigration followed the conquest, which likely populated much of the desolated regions of Cumbria, and which was persistent enough that the town of Beverley in the East Riding of Yorkshire still had an ethnic enclave called Flemingate in the thirteenth century. During the Anarchy, Scotland invaded Northern England and took much of the land north of the Tees. In the 1139 peace treaty that followed, Prince Henry of Scotland was made Earl of Northumberland and kept the counties of Cumberland, Westmorland and Northumbria, as well as part of Lancashire. These reverted to English control in 1157, establishing for the most part the modern England–Scotland border. The region also saw violence