 Likewise, Alfonso XII takes his number following that of Alfonso XI of Castile rather than that of Alfonso V of Aragon, the prior Spanish monarchs with that name.In the year 1700 Charles II died.His will named the 16-year-old Philip, the grandson of Charles's sister Maria Theresa of Spain, as his successor to the whole Spanish Empire.