The son of Charles IV, Fernando VII, was seated on his rightful throne in the Royal Palace of Madrid in 1814.
The Royal palace was in madrid.