Regulation approved on 29 Oct; text not yet published · updated · details

When was Portugal founded? 1128, 1139, 1143 or 1179

Regulation approved, not published · checked

Portugal was not born on a single day. Four dates mark its change from county to kingdom. Here is what happened on each, what is certain and what is legend, and which one is used most.

Independent site · not the Portuguese Government · information, not legal advice

Updated

Summary

  • 1128: São Mamede. Afonso Henriques takes over the County of Portugal.
  • 1139: Ourique. He starts calling himself king. The battle is real; the miracle is legend.
  • 1143: Treaty of Zamora, with the king of León and Castile. The date given most often.
  • 1179: The bull Manifestis Probatum. The Pope confirms the kingdom; the original is in the Torre do Tombo.

Practise the 5 topics in the law

25 questions · no sign-up · ~10 min

Practise history
On this page

Summary

In the early 12th century, Portugal was a county, the County of Portugal (Condado Portucalense), under the kingdom of León. In just over 50 years, Afonso Henriques turned it into a kingdom. He defeated his mother in 1128 and began calling himself king after 1139. In 1143 he reached an agreement with his cousin, the king of León and Castile, and in 1179 the Pope confirmed his title.

Each of these dates is given somewhere as “the founding date”. None is wrong: they mark different steps.

1128: the Battle of São Mamede

Count Henry of Burgundy received the County of Portugal when he married Teresa, daughter of King Alfonso VI of León and Castile. After Henry died, in 1112, Teresa governed and drew close to the Galician nobility, which angered the county’s own barons.

On 24 June 1128, at São Mamede, near Guimarães, the forces of her son, Afonso Henriques, defeated hers. He took over the government of the county. RTP Ensina, the Portuguese public broadcaster’s education site, calls the battle the first assertion of the will to independence.

How sure are we? The date and the place are the ones reference works accept. But in 1128 Portugal was still a county, and Afonso Henriques did not yet use the title of king.

1139: the Battle of Ourique (part history, part legend)

According to tradition, on 25 July 1139, Saint James’s Day, Afonso Henriques defeated a Muslim army at Ourique. Soon afterwards he changed his title and began calling himself “king of the Portuguese”.

How sure are we? Not very. Tradition places the battle in the Lower Alentejo, near the town of Ourique, but other sites have been proposed, in the Ribatejo or the Beira Litoral. The size of the armies is unknown. Sources from the time mention only a victory. The story of five defeated Moorish kings and of Christ appearing to Afonso before the battle comes from Portuguese chronicles of the 15th and 16th centuries: it is legend. Britannica also warns that the link between Ourique and the royal title may be more legend than history.

What is certain is that from 1139 Afonso Henriques presented himself as king.

1143: the Treaty of Zamora

On 4 and 5 October 1143, Afonso Henriques met his cousin Alfonso VII, king of León and Castile, who called himself emperor of Hispania, in the city of Zamora. A cardinal sent by the Pope, Guido de Vico, mediated. The agreement was signed on the 5th.

How sure are we? The date is well accepted. What was decided is read in different ways. According to RTP Ensina, Alfonso VII recognised Afonso Henriques’s title of king, and Afonso in return declared himself his cousin’s vassal as emperor. Britannica says Alfonso VII accepted his cousin’s autonomy, but that the title of king was formally granted only in 1179.

Even on the first reading, this was not yet secure independence: the recognition could be undone. That is why Afonso Henriques sought the Pope’s backing.

1179: the papal bull Manifestis Probatum

On 23 May 1179, Pope Alexander III issued the bull Manifestis Probatum, dated at Rome. In it he confirms the kingdom of Portugal to Afonso Henriques and his heirs, with the full honours and dignity of a kingdom, together with the lands he had won from the Muslims. The name comes from the Latin phrase manifestis probatum, roughly “it has been clearly proven”: according to the archive’s record, the Pope granted the title because it had been proven that the king’s deeds deserved it.

How sure are we? This is the surest of the four dates. The original is kept in Portugal’s National Archive, the Torre do Tombo, in Lisbon (Bulas, bundle 16, no. 20). The archive’s record calls the bull Portugal’s Magna Carta as a free and independent state. RTP Ensina says that only then was independence truly secured.

The four dates side by side

DateWhat it wasWhat changedHow sure we are
24 June 1128Battle of São MamedeAfonso Henriques defeats his mother’s forces and takes over the County of Portugal.High: date and place (near Guimarães) accepted by reference works.
25 July 1139Battle of OuriqueA victory over the Muslims; after it, Afonso Henriques calls himself king.Medium: the date comes from tradition; the site is disputed and the miracle is legend.
5 October 1143Treaty of ZamoraAn agreement with his cousin Alfonso VII of León and Castile.High for the date; what was recognised is read in different ways.
23 May 1179Papal bull Manifestis ProbatumPope Alexander III confirms the kingdom of Portugal to Afonso Henriques and his heirs.Very high: the original is in the Torre do Tombo archive.

Which date do textbooks usually use?

The most common is 1143, the Treaty of Zamora. RTP Ensina says it is “very common” for it to be given as the date of Portugal’s birth. The same source points out that the recognition of the royal title could still be undone, and that independence was only secured in 1179.

1139 also appears, as the year Afonso Henriques began calling himself king: Britannica and RTP Ensina both start his reign in that year. 1128 is remembered as the first step.

To study: rather than memorising “the” date, learn what each year stands for. 1128: rule of the county. 1139: the royal title. 1143: the agreement with León and Castile. 1179: recognition by the Pope. If a question mentions a treaty with León and Castile, think 1143; if it mentions the Pope or a bull, think 1179.

5 October: 1143 and 1910

The Treaty of Zamora was signed on 5 October 1143. By coincidence, the Republic was proclaimed in Lisbon on 5 October 1910, from the balconies of the City Hall.

The 5 October public holiday celebrates the establishment of the Republic, as Law 8/2016, which restored the holiday, says. It is not a founding day. The whole sequence, from 1128 to 2007, is in our Portuguese history timeline.

Test what you remember

Five history questions, drawn at random from our free bank, each with an explained answer and a source. They are not official questions.

Loading questions…

Frequently asked questions

Was Portugal founded by the Knights Templar?

No. The Templars played a part in the Reconquest: military orders like theirs held castles and land on the frontier with the Muslims, and the Templar master Gualdim Pais founded the convent at Tomar in 1160, which belonged to the Order and is now a UNESCO World Heritage site. But the steps that made Portugal a kingdom, from 1128 to 1179, were taken by Afonso Henriques, the king of León and Castile and the Pope. None of them was an act of the Templars.

Is Portugal older than Spain?

As a single, unified country, yes. The kingdom of Portugal was recognised in the 12th century (1143 and 1179). Spain as one kingdom came from the union of the crowns of Castile and Aragon under the Catholic Monarchs: Ferdinand of Aragon was king of both from 1479. But the kingdoms that later formed Spain, such as León and Castile, existed before Portugal did: the County of Portugal broke away from them.

Who founded Portugal?

Afonso Henriques, its first king. He was the son of Count Henry of Burgundy and Teresa, who had received the County of Portugal from King Alfonso VI of León and Castile. His exact date and place of birth are not known; Guimarães is the place most often given.

Is there an official founding day?

There is no national holiday for the founding: none of the mandatory public holidays in the Labour Code (Art. 234) marks it. 1143, the year of the Treaty of Zamora, is the date most often given as Portugal’s “birth”; 1179, the year of the bull Manifestis Probatum, is the date of papal recognition.

Sources and how we checked

We read every source below on 5 December 2026; most are in Portuguese, and quotations from them are our translation. The date of the bull was checked on the document’s own record in the Torre do Tombo catalogue. This is the English version of our página em português, which also links to a list of all the kings of Portugal.

Sources

  1. RTP Ensina: Batalha de S. Mamede (in Portuguese)
  2. RTP Ensina: De Condado Portucalense a Reino de Portugal (in Portuguese)
  3. RTP Ensina: D. Afonso Henriques, short biography (in Portuguese)
  4. RTP Ensina: A Batalha de Ourique (in Portuguese)
  5. RTP Ensina: O Tratado de Zamora (in Portuguese)
  6. RTP Ensina: A bula Manifestis Probatum (in Portuguese)
  7. National Archive of Torre do Tombo (Digitarq): the bull “Manifestis probatum” of Pope Alexander III (in Portuguese) — PT/TT/BUL/0016/000020, 23 May 1179
  8. Britannica: Portugal, History — 1128, 1139, 1143, 1179 and the military orders
  9. Britannica: Afonso I
  10. UNESCO World Heritage Centre: Convent of Christ in Tomar — founded in 1160 by Gualdim Pais
  11. Britannica: Ferdinand II of Aragon — king of Aragon and of Castile from 1479
  12. RTP Ensina: Implantação da República, 5 de outubro de 1910 (in Portuguese)
  13. Diário da República: Law 8/2016, restoring the 5 October holiday (in Portuguese)
  14. Labour Code, consolidated text in the Diário da República (in Portuguese) — Art. 234, mandatory public holidays

Links checked on .

Legal notice

This is plain-language information based on the text published in Portugal's official gazette (Diário da República). It is not legal advice and does not replace advice from a lawyer (advogado) or solicitor (solicitador). This website has no connection with the Government of Portugal or any public body.

Meanwhile, practise the 5 topics

Explained answers with a source for every question. No sign-up.

Practise history