The first solid references to this obscure settlement on the Castilian plateau, guarded by the looming Guadarrama mountain range, appear in the 9th century.
The oldest acknowledgment of the settlement's existence dates back to the ninth century.