By ad 800, __________ had established a powerful kingdom encompassing modern-day france, northern spain, northern italy, and western germany.