Original: In the 1494 Treaty of Tordesillas the entire world beyond Europe was split between Portugal and Castile (Spain) for conquest and dominion purposes - by two north-south lines down the Atlantic Ocean and the Near East.
Simplified: Joanna and Catherine married with several European dynasties, setting the bases for the huge heritage of their grandson Charles V. His granddaughter was Queen Mary I of England.