PLSubscribe
Seventeenth-century painting of a bearded knight in gilded armor kneeling in prayer, looking up at Christ on the cross among angels, with a cavalry battle on the right.

Battle of Ourique, 1139: Portugal's founding battle and its legend

Reconquista · 25 July 1139 · Portugal vs Almoravids · ~5 min read · Updated November 2026

Next anniversary: 25 July 2027, the 888th anniversary 25 July in history ›

Frei Manuel dos Reis, Vision of Afonso Henriques at the Battle of Ourique, 17th century, Museu de Alberto Sampaio, Guimarães. Public domain, via Wikimedia Commons.

At a glance

In this battle of 1139, the County of Portugal defeated the Almoravids.

Date
25 July 1139
Location
Traditionally Ourique in the Alentejo, southern Portugal. The exact site is disputed
War
Reconquista
County of PortugalAfonso HenriquesVictory
Almoravids (Muslim al-Andalus)Unknown, later chronicles name a King IsmarDefeat
Strength
Unknown. Modern historians doubt the huge Muslim army of tradition (Infopédia)
Losses
Unknown
Outcome
Portuguese victory. Afonso Henriques begins to be called king
Quick answer

What happened at the Battle of Ourique?

Count Afonso Henriques won the Battle of Ourique on 25 July 1139, defeating a Muslim army of the Almoravid period somewhere in the south of today's Portugal. It was an important victory that brought him prestige and the title of king, opening the way to the recognition of Portugal as a kingdom. Almost everything else, from the exact site to the size of the enemy army, is uncertain, and the famous story that Christ appeared to Afonso before the battle was added centuries later.1

Few battles matter so much to a nation and are so poorly known. Portugal's encyclopedia Infopédia gives the date as 25 July 1139 and the result as a victory of Afonso Henriques, the future first king of Portugal, over the Muslims. Alexandre Herculano, who worked through the sources in 1846, gives the same date and identifies the enemy as an Almoravid force. He adds that the Christian chronicles of the time mention the battle in only a few words, that no Arab historian records it at all, and that its circumstances are otherwise entirely unknown.2

The victory brought Afonso Henriques prestige, and the Portuguese soon began to call him king, as the fourth Brief Chronicle of Santa Cruz also records. Herculano shows that his cousin Alfonso VII of León recognized the royal title when the two met at Zamora in 1143, which opened the road to the recognition of the Kingdom of Portugal.3

A count who wanted a crown

Afonso was the son of Henry of Burgundy, to whom Alfonso VI of León had granted the county of Portugal. Britannica records that he took power from his mother Teresa after winning the Battle of São Mamede in 1128, that he was at first obliged to submit as a vassal to his cousin Alfonso VII of León, and that he assumed the title of king in 1139.4

Illuminated miniature of a bearded king in dark plate armor and a crowned helmet, with a red and white cloak, holding a battle axe and resting his hand on a dark shield with white roundels, seated on golden scrollwork beneath a red banner reading El Rey D. Afonso Anriquez
Afonso Henriques as the first king of Portugal in a miniature by António de Holanda from the Genealogy of the Kings of Portugal, painted between 1530 and 1534, almost four centuries after Ourique, so it shows how the sixteenth century pictured him rather than how he looked. António de Holanda, Genealogia dos Reis de Portugal, 1530 to 1534, British Library, Add MS 12531, Public domain, via Wikimedia Commons

The same entry sums up the battle's practical effect in one line: victory at Ourique allowed him to impose tribute on his Muslim neighbors. Eight years later he took Santarém and, with the help of passing crusaders, Lisbon.5

What the oldest texts say

The earliest accounts are brief. Rodrigo Franco da Costa, in a 2014 article in the journal Medievalis, follows the scholars who traced the story's growth. One of the first texts to deal with the battle is the twelfth-century work known as the Chronica Gothorum, a set of annals that for the years after 1125 is based on annals of Afonso's reign. The oldest history of the Portuguese kings written in Portuguese, the fourth Brief Chronicle of Santa Cruz, written shortly after 1340, gives the battle one sentence: there was a battle in the fields of Ourique, Afonso won it, and from then on he was called King of Portugal and took the five shields as his arms.6

As Costa notes, quoting earlier scholarship, the oldest chronicles and annals mention the battle itself but contain nothing that could be connected with a miracle.7

How the legend grew

The miracle came later. According to Costa, the short chronicles and memoirs of the monastery of Santa Cruz in Coimbra first placed the battle at Ourique beyond Castro Verde, and they say Christ appeared to Afonso on the cross. One of them states that he defeated five Moorish kings in the field of Ourique and, in the likeness of that divine mystery, put on his shield the arms the kings of Portugal still bore. Costa quotes the view that these texts are when the Alentejo legend took shape, and that the Muslim numbers were exaggerated to make the Christian victory greater. In 1572 Camões gave the five kings and the five blue shields their classic form in verse, in Os Lusíadas.8

Black and white print of a crowned, bearded king in studded armor holding an upright sword and a round shield with a small coat of arms, inside an oval with the Latin inscription Alfonsus Port Rex I
A printed portrait of Afonso Henriques by Pedro Perret, dated 1603, made at a time when the story of Ourique was being retold in ever richer detail. The Latin inscription names him the first king of Portugal. Pedro Perret, portrait of Afonso Henriques, print, 1603, Biblioteca Nacional de España, Public domain, via Wikimedia Commons

The appearance of Christ enters the written record in the fifteenth century. Costa, quoting the scholar Luís Filipe Lindley Cintra, notes that the oldest known full account of the miracle is in the Chronicle of 1419, a chronicle of the first seven kings of Portugal, and that it is mentioned in passing in later texts such as a speech given in Lisbon in 1451. Infopédia credits Vasco Fernandes de Lucena, envoy of King John II to Pope Innocent VIII, with spreading the story widely in his speech of 1485. In his chronicle of Afonso Henriques, written in 1505, the royal chronicler Duarte Galvão told the battle in rich detail, with names, dialogues and speeches, and a hermit promising Afonso victory over King Ismar. In the seventeenth century the Alcobaça monk Bernardo de Brito elaborated the legend further.9

Infopédia points out that the legend arose, and was later reinforced, at two moments when Portugal needed to consolidate its independence and autonomy.10

Herculano's skirmish

The challenge came in 1846. In the first volume of his História de Portugal, Britannica writes, Alexandre Herculano treated the hallowed battle as a mere skirmish and denied Christ's intervention entirely. The result was a storm of criticism from the press and the pulpits. In 1850 Herculano answered the clergy with a public letter to the cardinal patriarch of Lisbon, Eu e o Clero, and a long war of pamphlets followed.11

Modern historians, Infopédia adds, think the Muslim army was probably far smaller than tradition says, given the crisis then facing the Muslims in Iberia and North Africa. The site is still argued over: Ourique in the Alentejo is the traditional location and the one with the widest support, though others have been proposed.12

Remembered in paint

The legend also shaped how Ourique was shown in art. The painting shown above, the Vision of Afonso Henriques at the Battle of Ourique by Frei Manuel dos Reis, dated 1665 by the Museu Alberto Sampaio in Guimarães, shows Afonso in armour kneeling before the crucified Christ, an episode the museum itself calls legendary.13

Notes

A number in the text points to a note naming the works that paragraph draws on, which are listed in full under Sources.

  1. Infopédia, “Batalha de Ourique”. Rodrigo Franco da Costa, “A Batalha de Ourique e a construção da identidade portuguesa”. Alexandre Herculano, “Historia de Portugal, tomo I”. ↩
  2. Infopédia, “Batalha de Ourique”. Alexandre Herculano, “Historia de Portugal, tomo I”. ↩
  3. Alexandre Herculano, “Historia de Portugal, tomo I”. Rodrigo Franco da Costa, “A Batalha de Ourique e a construção da identidade portuguesa”. ↩
  4. Encyclopaedia Britannica, “Afonso I, king of Portugal”. “Chronica Gothorum”, in Portugaliae Monumenta Historica: Scriptores, vol. 1, pp. 8 to 17, Internet Archive, “Portugaliae Monumenta Historica”. ↩
  5. Encyclopaedia Britannica, “Afonso I, king of Portugal”. Alexandre Herculano, “Historia de Portugal, tomo I”. ↩
  6. Rodrigo Franco da Costa, “A Batalha de Ourique e a construção da identidade portuguesa”. “Chronica Gothorum”, in Portugaliae Monumenta Historica: Scriptores, vol. 1, pp. 8 to 17, Internet Archive, “Portugaliae Monumenta Historica”. ↩
  7. Rodrigo Franco da Costa, “A Batalha de Ourique e a construção da identidade portuguesa”. “Chronica Gothorum”, in Portugaliae Monumenta Historica: Scriptores, vol. 1, pp. 8 to 17, Internet Archive, “Portugaliae Monumenta Historica”. ↩
  8. Rodrigo Franco da Costa, “A Batalha de Ourique e a construção da identidade portuguesa”. Luís de Camões, “Os Lusíadas”. ↩
  9. Infopédia, “Batalha de Ourique”. Rodrigo Franco da Costa, “A Batalha de Ourique e a construção da identidade portuguesa”. ↩
  10. Infopédia, “Batalha de Ourique”. ↩
  11. Encyclopaedia Britannica, “Alexandre Herculano”. Alexandre Herculano, “Historia de Portugal, tomo I”. Arthur Assis, “Herculano, Alexandre”. ↩
  12. Infopédia, “Batalha de Ourique”. Alexandre Herculano, “Historia de Portugal, tomo I”. ↩
  13. Museu Alberto Sampaio, “Vision of Afonso Henriques at the Battle of Ourique”. ↩

Sources

Frequently asked questions

When was the Battle of Ourique?

It is dated to 25 July 1139.

Who fought at Ourique?

Count Afonso Henriques of Portugal against Muslim forces of the Almoravid period. Later chronicles name the enemy leader King Ismar.

Where was the Battle of Ourique fought?

The exact site is unknown. Tradition places it at Ourique in the Alentejo, the view with the widest support, but other sites have been proposed.

What is the Miracle of Ourique?

A legend that Christ appeared to Afonso Henriques before the battle and promised him victory. It is absent from the oldest sources and first appears in fifteenth-century texts, above all the Chronicle of 1419. Lucena's speech of 1485 spread it widely.

Why does Ourique matter to Portugal?

After the victory Afonso Henriques began to be called king, which opened the way to the recognition of the Kingdom of Portugal in 1143.

Battles that changed the world

The turning points of history

Marathon, Gaugamela, Cannae, Constantinople, Waterloo, Stalingrad: the days the world changed course.

The same choice for every reader · why? ·

Ride south with Afonso Henriques

Echoes of Battle brings the great battles of history to life, narrated on the real map. Subscribe below for new battle stories, and we will send word to your inbox the day it launches.

Or supply the campaign on Ko-fi ›