Charlemagne extended the borders of the kingdom of the franks to the east and the south, he gained great tracts of territory from this act