Horche brought its villages together on the heights and built Mairena Castle
After the conquest of 1085, several settlements came together in the upper part of Horche to build a fortified house. What did the terrain offer that made it a place for gathering and defense?
Panoramic view of Horche, set on the Alcarria plateau beside the Ungría Valley.
In Horche, the story of a fortress begins with a move. After the conquest of 1085, the settlements living nearby—San Pedro de Valverde, La Magdalena and Alcontote—came together on the heights. There they built a fortified house to defend themselves. The castle was named Mairena or Mayrena, and local accounts place it where the hermitage of San Sebastián later stood.
You do not need to imagine a battle to understand the decision: simply look at the contrast between the Alcarria plateau and the Ungría Valley. Horche lies at a higher elevation, while the terrain slopes down toward the river. It is reasonable to infer that this difference in elevation helped determine the choice of a defensive site; what is historically certain is that the settlements came together on the heights and built the fortress.
The plateau and the valley marked out two routes
Elevation is no abstraction in this landscape. The town stands 895 meters above sea level; the Horche mountain range reaches 934 meters, and the land descends toward the Ungría to 700 meters. The municipality occupies a plateau beside the river valley, a tributary of the Tajuña. Views open up to the east from the town: a position that lets you take in at a glance the transition between the elevated surface and the valley corridor.
Why did this difference matter to those seeking a shared place to live and protect themselves? The topography offers a plausible explanation: the height sets the settlement apart, and the valley is part of the surrounding landscape. It does not by itself prove the strategy of those who built Mairena, but it does help explain the setting they chose. The fortress was not built on undifferentiated terrain; it was linked to a landform that separates the heights from the lower ground.
The municipality’s materials also tell a much slower story. The geotechnical study classifies most of the terrain as limestone, dolostone and marble: 69.19%. These are carbonate rocks, which in general can form on ancient, shallow seafloors. The figure describes a group of materials found in the municipality; it does not date their formation or establish that a particular rock lies beneath the castle.
The same inventory records sandstone, conglomerate and flysch, which together account for 22.47%, as well as gypsum, anhydrite and salts, at 5.46%. Translated into landscapes from the distant past, these names evoke sand deposited on beaches, in deltas or in rivers; pebbles accumulated by powerful currents; alternating layers of sand and mud around a marine shelf; and sediments left behind by evaporating water. They are clues to different environments in the territory’s geological history, not a chronological sequence that can be reconstructed from the available data.
The prevalence of carbonate rocks has another consequence that helps us read the terrain. The study describes formations that are generally of low permeability, although they may contain deeper, more permeable and productive aquifers. It also notes that karstification—the dissolution of carbonate rocks by water—is scarce or almost nonexistent, with a few isolated systems. Water, then, does not always have to travel through the subsurface in the same way: the surface and deeper layers can behave differently.
La ermita de Nuestra Señora de la Soledad, un ejemplo del patrimonio construido de Horche; el artículo sitúa el antiguo castillo de Mairena en el lugar donde estuvo la ermita de San Sebastián.
Before the castle, there were already traces at La Galiana
Horche’s human history did not begin with the medieval fortress. Finds within the municipality attest to settlement dating back to the Paleolithic. Among the sites mentioned are El Castillo and the La Galiana cave, with remains attributed to the Mousterian and Middle Bronze Age; at Fuensanta, traces of the Early and Middle Bronze Age have been recorded. These are the names of specific places that extend the record of human presence far beyond the time when the villages decided to come together.
The connection between those occupations and the rocks cannot be specified further on the basis of the information gathered. But the landform provides a visible setting: a plateau beside a valley, with a mountain range rising above the town. Prehistoric traces and, centuries later, medieval settlements followed one another in this same landscape. They are not a single history, nor evidence of continuous settlement; they are signs that the territory was inhabited in very different periods.
Water also features in accounts of medieval Horche. A tradition recorded about the 8th century attributes the founding of a farmstead in a place with vegetation, fresh water and a mild climate, which he called Orche, to Side Abdremen, governor of Guadalajara. The description links life in the settlement to the availability of water. Current geological data about possible deep aquifers provide compatible context, although they do not identify the source of that water or prove that it was the same.
Mairena brought a scattered population together
The episode of 1085 involved more than building a defense. By coming together on the heights, the inhabitants of several settlements changed the way the population was arranged. Mairena Castle gave its name to that fortified house; today, its location is associated with the site of the former hermitage of San Sebastián. The fortress turned a feature of the terrain—the elevation—into a place of gathering and protection.
Horche’s life continued to be shaped by decisions made collectively. In 1124, according to the account attributed to Juan Talamanco, Mozarabic Christians arrived from Baeza and formed a neighborhood “at the outflow of the ravine,” called Albaicín. The reference preserves an image of the terrain in the name itself: a slope or descent where water spreads out. It does not make it possible to pinpoint the neighborhood’s layout, but it is a reminder that settlements were also described in terms of the forms of the landscape.
Much later, the community defended its jurisdiction against Guadalajara. In 1537, it obtained the privilege of town status through a payment to the Crown, which allowed it to establish a municipal council and exercise jurisdiction over its lands. The population that had gained cohesion around its elevated position also went on to defend its rights as a town. The terrain alone does not explain those disputes, but it helps us understand that Horche was not merely a point on the map: it was a concentrated settlement with its own surrounding territory.
Farmland sustained the town
In the 16th century, the relationship with the land was also expressed through work. Philip II’s Topographical Relations describe a town of 500 vecinos—about 2,200 inhabitants—in 1575, all farmers. The local economy relied on agriculture—wheat, grapes, olives and hemp—and sheep farming. The plateau and the lands within the municipality were not merely a backdrop for a fortress: they sustained those who lived there and shaped everyday life.
The geotechnical study also notes that ground movement, mainly landslides, can occur in soft formations. This is a warning about processes that may occur in certain areas, not an explanation of a specific historical event in Horche. Together with the dominant carbonate rocks and the various sedimentary formations, it completes a picture of the subsurface that is more varied than the relatively continuous surface of the plateau.
The main story, however, returns to the decision that shaped the medieval settlement: several populations came together on the heights and built Mairena to defend themselves. Geology and topography did not dictate that choice, but the elevation provided a distinctive setting. When you look from Horche toward the Ungría Valley, the difference in elevation between these two landscapes also tells the story of how a position in the terrain could become a place of gathering.
Do you need a geotechnical study in Horche?
Request a no-obligation quote. We’ll advise you on the type of study you need.
- Studies signed by a licensed geologist
- Compliant with the CTE and Eurocode 7
- Coverage throughout Spain
Más de 1000 estudios realizados
Request a free quote
We can contact you via WhatsApp, phone, or email, whichever you prefer.