Alfonso XII of Spain
It became an alternative residence of the kings of Spain until the reign of King Alfonso XII of Spain, who died in the palace in 1885.