The Habsburgs grew to European prominence as a result of the dynastic policy pursued by Maximilian I, Holy Roman Emperor. Maximilian I married Mary of Burgundy, thus bringing the Burgundian Netherlands into the Habsburg inheritance. Their son, Philip the Handsome, married Joanna the Mad of Spain (daughter of Ferdinand II of Aragon and Isabella of Castile). Charles V, Holy Roman Emperor (son of Philip and Joanna) inherited the Habsburg Netherlands in 1506, Habsburg Spain and its territories in 1516, and Habsburg Austria in 1519.