 Since his advent as King of the Franks, Charlemagne had led numerous military expeditions that had both filled his treasury and enlarged his realm, most notably towards the East.He conquered pagan Saxony in 772–780, but this area resisted and the war with the Saxons lasted for about thirty years.Charlemagne ended the Germanic custom of an itinerant court moving from place to place and established a real capital.