Input (grade 12): Though their grandson Charles I of Spain (also known as Charles V, Holy Roman Emperor) favored Seville, it was Charles' son, Philip II (1527 â "1598) who moved the court to Madrid in 1561.
Output (grade 2): His son, Philip II (1527 â "1598) moved the court to Madrid in 1561.