What was the purpose of the Treaty of Tordesillas?

A.
to end a war between Spain and Portugal

B.
to end a war between Portugal and Muslims

C.
to divide the non-European world between Spain and Portugal

D.
to settle the terms of a trade agreement between Portugal and Muslims

C. to divide the non-European world between Spain and Portugal