ANSWER: C. to divide the non-European world between Spain and Portugal.
It can't be A because that war was in the late 1700s.
It can't be B because the Spice Islands are in Indonesia and this Treaty was to clear up confusion on newly claimed land in the New World.
And it can't be D because this treaty had nothing to do with muslims.
Process of Elimination.
<3
they wanted to divide the non-European world between Spain and Portugal. bc they were fighting for land