Pope Alexander VI divided the New World between Spain and Portugal.

Pope Alexander VI published a bull, ‘Inter caetera’, to divide the New World between Spain and Portugal. It decreed that all lands west and south of a meridian line 100 leagues west of the Azores and Cape Verde islands rightfully belonged to Spain.

Source