How was South America divided between Spain and Portugal?

A.
Spain claimed the eastern part of South America while Portugal claimed the western part.

B.
Portugal claimed the eastern part of South America while Spain claimed the rest of the land.

C.
Portugal claimed the northern part of South America while Spain claimed the southern part.

D.
Spain claimed the northern part of South America while Portugal claimed the southern part.

B. Portugal claimed the eastern part of South America while Spain claimed the rest of the land.

D. Spain claimed the northern part of South America while Portugal claimed the southern part.