the first monarch to rule a united crown of aragon was