Since Phillip II decided to move the capital from the Imperial city of Toledo to the small town of Madrid in 1651, the city has been adapting to different periods in history.