Input (grade 11): Though their grandson Charles I of Spain (also known as Charles V, Holy Roman Emperor) favoured Seville, it was Charles' son, Philip II (1527 1598) who moved the court to Madrid in 1561.
Output (grade 8): Their grandson was the famous Charles I of Spain (also known as Charles V, Holy Roman Emperor).