Finally, after an unexpected English victory in 878, a treaty was signed establishing the Danelaw, a line running roughly between London and Chester, dividing control of Britain between the English in the south and the Danes in the north. To this day it remains an important linguistic dividing line between northern and southern dialects.