 It was then conferred to all Habsburg emperors and rulers, as well as to the non-ruling princes of the dynasty, however, it still did not carry the right to vote in the Imperial election.Frederick further promoted the rise of the Habsburg dynasty into European dimensions with the arrangement of the marriage between his son Maximilian I and Mary the Rich, heiress of Burgundy in 1477.After Maximilian's son Philip the Handsome in 1496 had married Joanna the Mad, Queen of Castile and the Crown of Aragon, his son Charles V could come into an inheritance "on which the sun never sets".