How did the Treaty of Tordesillas solve a conflict between Spain and Portugal?


A.
It kept Spanish pirates from looting Portuguese ships.



B.
It gave the Spanish control over all Portuguese trading posts in West Africa.



C.
It ended a twenty-three-year naval war between Spain and Portugal.



D.
It divided the world along one line, giving Portugal control of lands east of the line and Spain control of lands west of the line.