Ferdinand died in 1516 in Madrigalejo, Cáceres, Extremadura. He had made Spain the most powerful country in Europe. The succession of his grandson Charles, who inherited not only the Spanish lands of his maternal grandparents, but the Habsburg and Burgundian lands of his paternal family, would make his heirs the most powerful rulers on the continent. Charles succeeded him in the Aragonese lands, and was also granted the Castilian crown jointly with his insane mother, bringing about at long last the unification of the Spanish thrones under one head.