After achieving peace in Saxony in 780, Charlemagne returned in 782 and enforced a new code of law, the opposition to which began the middle phase of the Saxon Wars. After a hard fought struggle with Widukind, a Saxon leader, Charlemagne won in 785.
Charlemagne brought an end to hostilities in Saxony by 780 and then returned in 782 to establish a new legal framework, which ultimately led to the outbreak of the Saxon Wars' second phase. His subsequent conflict with Widukind, the Saxon chieftain, culminated in his triumph in 785.