Phillip II
Concerned with defending southern Gaul from Muslim attacks and beguiled by promises of help from local Muslim leaders in northern Spain who sought to escape the authority of the Umayyad ruler of Cordoba, Charlemagne invaded Spain in 778.
Answer:
The resulting Treaty of Tordesillas in 1494 drew a north-to-south line through South America; Spain gained territory west of the line, while Portugal retained the lands east of the line, including the east coast of Brazil.
Explanation: