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 area was empty until its inhabitation starting in the 19th century .