During the fifth century a number of Celtic tribes came together to form the Kingdom of Rheged , which is said to have stretched north over what is now the Scottish border and south as far as the River Mersey .
A number of Celtic tribes came together during the ninth century .