What was one step that Charlemagne took to help unite his kingdom

One step that Charlemagne took to help unite his kingdom was the establishment of a standardized legal code known as the Capitulary of Aachen in the late 8th century. This legal code aimed to bring uniformity and consistency in the administration of justice by ensuring that the laws were applied equally throughout the kingdom. It helped to centralize power and authority under Charlemagne and contributed to the consolidation of his kingdom.