The shadow of Captain Rayeo

For generations, the identity of Arraiolos was sustained by a narrative dating back to a Greek captain named Rayeo. According to the Arraiolos historian Cunha Rivara, in his work 'Memórias da Vila de Arraiolos', ancient historiographical tradition maintained that this commander's domains would have phonetically evolved from Rayolis to Rayeopolis, transforming, over the centuries, into the name we know today (Município de Arraiolos, 2020).

This explanation, although persistent in oral tradition and local scholarly chronicles, lacks archaeological or linguistic support to validate it as a historical fact. The idea of a Greek foundation serves, above all, as a mechanism to ennoble the town's origin, a common practice among many Portuguese settlements seeking classical roots to justify their importance before the kingdom.

The reality, however, is quieter and more complex than the legend of a captain. The territory that today comprises the 684.08 km² of the municipality, according to data from the Intermunicipal Community of Central Alentejo (CIMAC, 2020), reveals human occupation long before any Greek influence, with archaeological remains dating back to the 4th millennium BC, concentrated on the elevation where the castle now stands (Município de Arraiolos, 2020).

The Mozarabic substrate and Islamic heritage

The most obvious and immediate reading defended by local scholarly chronicles attributes the foundation and name of Arraiolos to a Greco-Latin root linked to a commander named Rayeo. However, the analysis of medieval Alentejo toponymy and philological and archaeological studies on the transition from Al-Andalus to the kingdom of Portugal refute this classical mythical linearity, pointing to a strong Mozarabic and Islamic substrate in the region (University of Coimbra, 2010).

Studies on linguistic transition in the Iberian Peninsula indicate that toponyms starting with the prefix 'Ar' frequently reflect the overlap between the Latino-Romance substrate, spoken by Mozarabics, and the Arabic lexical superstructure of the Al-Andalus period, where earlier terms and settlements were phonetically reconfigured throughout centuries of linguistic coexistence before the 13th-century Christian reconquest (University of Coimbra, 2010).

This transition suggests that Arraiolos was not an ex-nihilo foundation, but rather a reconfiguration of a pre-existing settlement. The region remained under strong Muslim influence and control for centuries, a fact that shaped not only the language, but the very organization of the territory that the Christians would later encounter, requiring deep structural adaptation before final Christian consolidation in the region (University of Évora, 2000).

The first documentary light

The first written, institutional, and Christian reference to Arraiolos appears only in 1217, through a royal donation made by King D. Afonso II to the Bishop of Évora, D. Soeiro II (University of Évora, 2000). This document is fundamental, as it marks the official integration of the territory into the administrative structure of the kingdom of Portugal, following a long period of Islamic rule.

The donation was not merely an administrative act, but a strategic necessity. Investigations into medieval Alentejo urbanism reveal that the king imposed severe military obligations on the bishop, demanding the immediate construction of defensive fortifications in a territory that was, until then, a border zone of strong Muslim influence (University of Évora, 2000).

This need for defense explains the importance of the elevation where the castle is located today. The construction of the fortress was not an isolated event, but part of a territorial consolidation effort that would culminate, decades later, in the granting of the first charter by King D. Dinis in the year 1290 (Município de Arraiolos, 2022).

The consolidation of royal power

The 14th century brought a new dimension to the municipality. On December 26, 1305, King D. Dinis signed a contract with the municipality representatives, João Anes and Martim Fernandes, for the formal construction of the Castle of Arraiolos (Município de Arraiolos, 2020). This work, completed in the same year, consolidated the town as a focal point in the defense of the region.

The importance of Arraiolos grew to such an extent that, in 1387, the town rose to the seat of a county, being handed over to D. Nuno Álvares Pereira, who became the 2nd Count of Arraiolos (Município de Arraiolos, 2020). This noble status reflects the political weight the municipality held in the kingdom, well above its current geographical dimension.

Later, in 1511, King D. Manuel I granted a New Charter, reformulating the administrative and fiscal structure inherited from the medieval period, according to the comparative analysis of Manueline charters carried out by historian Jorge Fonseca (Câmara Municipal de Arraiolos, 2000). This reform was essential to adapt the town to the new demands of the 16th century, ensuring the continuity of its administration until its integration into the district of Évora in 1835 (Município de Arraiolos, 2020).

The municipality in the present

Today, Arraiolos is a municipality that reflects the marks of a thousand-year history. With a population of 6,619 inhabitants, according to the 2021 Census (INE, 2021), the municipality keeps the memory of its foundation alive through its built heritage. The landscape, dominated by the castle, continues to be a point of reference for visitors, recalling the strategic importance the location has held since the 13th century.

According to the Infopédia encyclopedia by Porto Editora, the municipality of Arraiolos occupied a total area of 682.8 km² and registered a population of 6,606 inhabitants in the year 2021, data that coexist with official local administration statistics (Porto Editora, 2026). Demographic evolution, which saw the population reach 11,260 inhabitants in 1930 and decrease to 7,363 inhabitants in the 2011 census (Wikipedia/INE, 2011), has not erased the municipality's identity.

The annexation of the extinct municipality of Vimieiro, which took place in 1855, was one of several branch alterations that shaped the current administrative configuration of the municipal territory, currently composed of 5 parishes following recent administrative reorganizations (Município de Arraiolos, 2020; CIMAC, 2020). Arraiolos thus remains a testimony to the transition between worlds, uniting legend and historical documentary records.

If the legend of Captain Rayeo is still told, it now serves as a mirror of the human need to create myths, while the records of 1217 and 1305 remain the solid foundations upon which the real history of Arraiolos was built and preserved to this day.