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 17th century the style of Juan de Herrera  was used in architecture.