That was one reason. Read this for more.
http://www.mrdowling.com/703-charlemagne.html
what helped unite charlemagne's empire?
Viking attacks
2 answers
A strong, efficient government helped to unite Charlemagne's empire.