The place dominated by the Ucero castle has been inhabited since prehistoric times. The castle is built on the site of an ancient Celtiberian castro. The site was first time mentioned in 1157 when Alfonso VII located the village of Sotos the Suso between Uxama and Ucero and there are documents that indicate that the castle already existed in the 13th century. It is estimated that the important hermit of San Juan de Otero, nowadays destroyed, was ubicated near San Bartolomé, which was a Templarian chapel.
References:The Basilica of Santa Maria in Trastevere is one of the oldest churches of Rome. The basic floor plan and wall structure of the church date back to the 340s, and much of the structure to 1140-43. The first sanctuary was built in 221 and 227 by Pope Callixtus I and later completed by Pope Julius I.
The inscription on the episcopal throne states that this is the first church in Rome dedicated to Mary, mother of Jesus, although some claim that privilege belongs to the Basilica di Santa Maria Maggiore. A Christian house-church was founded here about 220 by Pope Saint Callixtus I (217-222) on the site of the Taberna meritoria, a refuge for retired soldiers. The area was made available for Christian use by Emperor Alexander Severus when he settled a dispute between the Christians and tavern-keepers.
The church underwent two restorations in the fifth and eighth centuries and in 1140-43 it was re-erected on its old foundations under Pope Innocent II.