It was built in the beginning of the 17th century , based on the graceful style of Juan de Herrera ( Felipe II 's architect , responsible for El Escorial ) : symmetry , slate roofs , and slender towers .
In the 19th century the style angular style of Juan de Herrera took root .