his rights were transferred to the crown of aragon