State · Europe

# County of Barcelona

801 – 1164 · 363 years

Came after [County of Osona](https://app.pastlas.com/state/county-of-osona/) and Emirat de Siurana · became [Crown of Aragon](https://app.pastlas.com/state/crown-of-aragon/) and [Principality of Catalonia](https://app.pastlas.com/state/principality-of-catalonia/)

It was founded in 801, replacing the County of Osona and Emirat de Siurana.↓ Its borders are first mapped in 898, around 5,800 km².↓

At its largest, in 1152, it held 19,400 km².↓ Its highest office was held by 25 rulers, covering 801 – 1196, the median reign 13.5 years; 9 of 27 handovers were irregular.↓ The best known of them are Alfonso II of Aragon, Petronilla of Aragon and Ramon Berenguer III of Barcelona.↓ Most of the 22 rows the atlas files under it are people.↓

It was replaced by the Principality of Catalonia and the Crown of Aragon in 1164, 363 years after it began.↓

Best known for

- [![](https://upload.wikimedia.org/wikipedia/commons/thumb/9/9b/Barcelona_(Montju%C3%AFc)._Ramon_Berenguer_III%2C_Count_of_Barcelona._Sculpture_on_the_facade_of_the_City_of_Barcelona_pavilion_for_the_1929_International_Exposition._1929._Frederic_Mar%C3%A8s%2C_sculptor_(22978555504).jpg/120px-Barcelona_(Montju%C3%AFc)._Ramon_Berenguer_III%2C_Count_of_Barcelona._Sculpture_on_the_facade_of_the_City_of_Barcelona_pavilion_for_the_1929_International_Exposition._1929._Frederic_Mar%C3%A8s%2C_sculptor_(22978555504).jpg)Ramon Berenguer III of Barcelona](https://app.pastlas.com/person/ramon-berenguer-iii-of-barcelona/)
- [![](https://upload.wikimedia.org/wikipedia/commons/thumb/6/6e/Ramon_Berenguer_IV.jpg/120px-Ramon_Berenguer_IV.jpg)Ramon Berenguer IV of Barcelona](https://app.pastlas.com/person/ramon-berenguer-iv-of-barcelona/)
- [![](https://upload.wikimedia.org/wikipedia/commons/thumb/c/cc/Ramon_Berenguer_II.jpg/120px-Ramon_Berenguer_II.jpg)Ramon Berenguer II of Barcelona](https://app.pastlas.com/person/ramon-berenguer-ii-of-barcelona/)
- [![](https://upload.wikimedia.org/wikipedia/commons/thumb/5/5e/RamonBerenguel1prijimatribut.jpg/120px-RamonBerenguel1prijimatribut.jpg)Ramon Berenguer I of Barcelona](https://app.pastlas.com/person/ramon-berenguer-i-of-barcelona/)
- [![](https://upload.wikimedia.org/wikipedia/commons/thumb/c/ca/Rotlle-genealogic-borrell-II-de-barcelona.jpg/120px-Rotlle-genealogic-borrell-II-de-barcelona.jpg)Borrell II](https://app.pastlas.com/person/borrell-ii/)
- [![](https://upload.wikimedia.org/wikipedia/commons/thumb/a/af/Rotlle-genealogic-ramon-borrell-I-de-barcelona.jpg/120px-Rotlle-genealogic-ramon-borrell-I-de-barcelona.jpg)Ramon Borrell](https://app.pastlas.com/person/ramon-borrell/)

363 years

Longer than Kyivan Rus', shorter than the Spanish Empire

19,400 km²

At its height in 1152 · about the size of Slovenia

25 rulers

the Count of Barcelona

2 wars and battles

22 entries in all

[Open the live map at 1152](https://app.pastlas.com/?v=map&y=1152&sel=Q1233672)[Everything beside it](https://app.pastlas.com/?v=timeline&sel=Q1233672&t=765,1200&y=1152)

[![Map: County of Barcelona in 1152, its borders in gold among its neighbours](https://app.pastlas.com/state/county-of-barcelona/map.svg)](https://app.pastlas.com/?v=map&y=1152&sel=Q1233672)

*Area held from 901 to 1164, peak 19,400 km² in 1164*

Beside it on the map in 1152: [Kingdom of Castile](https://app.pastlas.com/state/kingdom-of-castile/), [Holy Roman Empire](https://app.pastlas.com/state/holy-roman-empire/), [Angevin Empire](https://app.pastlas.com/state/angevin-empire/), [Taifa of Murcia](https://app.pastlas.com/state/taifa-of-murcia/), [County of Toulouse](https://app.pastlas.com/state/county-of-toulouse/) and [Almohad Caliphate](https://app.pastlas.com/state/almohad-caliphate/).How far it reached, year by year: its ground inside the borders Cliopatria draws (CC BY 4.0), measured on an equal-area grid; the map shows it at its largest, with the cities of the year.

The story

## Its key moments

![County of Barcelona in 1152, at its largest](https://app.pastlas.com/state/county-of-barcelona/map.svg)![County of Barcelona in 898, first mapped](https://app.pastlas.com/state/county-of-barcelona/map-first.svg)

The rise and the fall in one frame: drag across it from 898, first mapped at 5,800 km², to 1152, at its largest at 19,400 km². Open the live map in [898](https://app.pastlas.com/?v=map&y=898&sel=Q1233672) or [1152](https://app.pastlas.com/?v=map&y=1152&sel=Q1233672).

### Before and after

The states the record files it as replacing or following, and those that replaced or followed it - Wikidata's own statements, each read from this state's side.

### Before it

- Emirat de Siurana · replaces
- Gothia · replaces
- [County of Osona](https://app.pastlas.com/state/county-of-osona/) · replaces · 798 – 1364
- County of Ripoll · replaces
- County of Girona · replaces
- Spanish march · replaces
- County of Berga · replaces

### After it

- [Principality of Catalonia](https://app.pastlas.com/state/principality-of-catalonia/) · replaced by · 1173 – 1714
- [Crown of Aragon](https://app.pastlas.com/state/crown-of-aragon/) · followed by · 1162 – 1715

### Where it sits in time

*County of Barcelona on a timeline from 3000 BCE to 2026: 801 to 1164*

Five thousand years, 3000 BCE to 2026; the state in gold, what it replaced or followed and what replaced or followed it in grey.

Its people

## Lives across the County of Barcelona

One axis for everyone, so you can see who knew whom: the best-known, ordered by birth.

80090010001100

- ![](https://upload.wikimedia.org/wikipedia/commons/thumb/a/a5/Bera%2C_Count_of_Barcelona_(J._Serra).png/120px-Bera%2C_Count_of_Barcelona_(J._Serra).png)[Bera](https://app.pastlas.com/person/bera/)count770 – 844
- [Rampon, Count of Barcelona](https://app.pastlas.com/person/rampon-count-of-barcelona/)count770 – 825
- [Berengar the Wise](https://app.pastlas.com/person/berengar-the-wise/)count790 – 835
- ![](https://upload.wikimedia.org/wikipedia/commons/thumb/a/ad/Tragic_death_of_Bernard_of_Septimania_during_the_siege_of_Toulouse%2C_844.png/120px-Tragic_death_of_Bernard_of_Septimania_during_the_siege_of_Toulouse%2C_844.png)[Bernard of Septimania](https://app.pastlas.com/person/bernard-of-septimania/)count795 – 844
- [Aleran](https://app.pastlas.com/person/aleran/)count800 – 852
- [William of Septimania](https://app.pastlas.com/person/william-of-septimania/)count826 – 850
- [Humfrid](https://app.pastlas.com/person/humfrid/)count858 – 864
- ![](https://upload.wikimedia.org/wikipedia/commons/thumb/2/20/Wifred_II_of_Barcelona.jpg/120px-Wifred_II_of_Barcelona.jpg)[Wilfred II Borell](https://app.pastlas.com/person/wilfred-ii-borell/)count874 – 911
- ![](https://upload.wikimedia.org/wikipedia/commons/thumb/9/90/Rotlle-genealogic-sunifred-I-de-barcelona.jpg/120px-Rotlle-genealogic-sunifred-I-de-barcelona.jpg)[Sunyer of Barcelona](https://app.pastlas.com/person/sunyer-of-barcelona/)count890 – 950
- ![](https://upload.wikimedia.org/wikipedia/commons/thumb/4/42/Rotlle-genealogic-mir-I-de-barcelona.jpg/120px-Rotlle-genealogic-mir-I-de-barcelona.jpg)[Miro of Barcelona](https://app.pastlas.com/person/miro-of-barcelona/)count926 – 966
- ![](https://upload.wikimedia.org/wikipedia/commons/thumb/c/ca/Rotlle-genealogic-borrell-II-de-barcelona.jpg/120px-Rotlle-genealogic-borrell-II-de-barcelona.jpg)[Borrell II](https://app.pastlas.com/person/borrell-ii/)count928 – 993
- ![](https://upload.wikimedia.org/wikipedia/commons/thumb/a/af/Rotlle-genealogic-ramon-borrell-I-de-barcelona.jpg/120px-Rotlle-genealogic-ramon-borrell-I-de-barcelona.jpg)[Ramon Borrell](https://app.pastlas.com/person/ramon-borrell/)count972 – 1017
- ![](https://upload.wikimedia.org/wikipedia/commons/thumb/5/5e/RamonBerenguel1prijimatribut.jpg/120px-RamonBerenguel1prijimatribut.jpg)[Ramon Berenguer I of Barcelona](https://app.pastlas.com/person/ramon-berenguer-i-of-barcelona/)count1023 – 1076
- ![](https://upload.wikimedia.org/wikipedia/commons/thumb/c/cc/Ramon_Berenguer_II.jpg/120px-Ramon_Berenguer_II.jpg)[Ramon Berenguer II of Barcelona](https://app.pastlas.com/person/ramon-berenguer-ii-of-barcelona/)count1053 – 1082
- [Berenguer Ramon II](https://app.pastlas.com/person/berenguer-ramon-ii/)count1054 – 1097
- ![](https://upload.wikimedia.org/wikipedia/commons/thumb/9/9b/Barcelona_(Montju%C3%AFc)._Ramon_Berenguer_III%2C_Count_of_Barcelona._Sculpture_on_the_facade_of_the_City_of_Barcelona_pavilion_for_the_1929_International_Exposition._1929._Frederic_Mar%C3%A8s%2C_sculptor_(22978555504).jpg/120px-Barcelona_(Montju%C3%AFc)._Ramon_Berenguer_III%2C_Count_of_Barcelona._Sculpture_on_the_facade_of_the_City_of_Barcelona_pavilion_for_the_1929_International_Exposition._1929._Frederic_Mar%C3%A8s%2C_sculptor_(22978555504).jpg)[Ramon Berenguer III of Barcelona](https://app.pastlas.com/person/ramon-berenguer-iii-of-barcelona/)count1082 – 1131
- ![](https://upload.wikimedia.org/wikipedia/commons/thumb/6/6e/Ramon_Berenguer_IV.jpg/120px-Ramon_Berenguer_IV.jpg)[Ramon Berenguer IV of Barcelona](https://app.pastlas.com/person/ramon-berenguer-iv-of-barcelona/)count1113 – 1162

Statesmen and generals[All its people on the timeline →](https://app.pastlas.com/?v=timeline&sel=Q1233672&t=770,1162)

How it was governed

## 25 counts

25 counts on record, 801 to 1196; a reign lasted 13.5 years at the median. Each bar is a reign, as long as it lasted.

*28 reigns from 801 to 1164, each as long as it lasted, coloured by how it ended*

a second row: a reign that began before the last had ended — rival claimants, or a shared throne

How their terms ended, where it is known (27 of 28):Killed 4Deposed or removed 1Died in office 13Left office alive 9Not on record 1

### Rulers

The line of Count of Barcelona - the office this state names as its head of state.

How they died, where the record says: executed 3 · died in battle 1 · killed 1.

| Ruler | Reign | Length | How it ended · source | To the ruler before |
| --- | --- | --- | --- | --- |
| 9th century · 14 reigns · 3 killed or removed |  |  |  |  |
| [Bera](https://app.pastlas.com/person/bera/) · aged 31 | 801 – 820 | 19 years | left office alive read off the dates alone |  |
| [Rampon, Count of Barcelona](https://app.pastlas.com/person/rampon-count-of-barcelona/) · aged 50 | 820 – 825 | 5 years | died in office read off the dates alone |  |
| [Bernard of Septimania](https://app.pastlas.com/person/bernard-of-septimania/) · aged 31 | 826 – 832 | 6 years | left office alive read off the dates alone executed |  |
| [Berengar the Wise](https://app.pastlas.com/person/berengar-the-wise/) · aged 42 | 832 – 835 | 3 years | died in office read off the dates alone |  |
| [Bernard of Septimania](https://app.pastlas.com/person/bernard-of-septimania/) · aged 40 | 835 – 844 | 9 years | executed Wikidata's manner of death |  |
| [Sunifred of Barcelona](https://app.pastlas.com/person/sunifred-of-barcelona/) · aged 39 | 844 – 848 | 4 years | died in office read off the dates alone |  |
| [William of Septimania](https://app.pastlas.com/person/william-of-septimania/) · aged 22 | 848 – 850 | 2 years | executed Wikidata's manner of death |  |
| [Isembard, Count of Autun](https://app.pastlas.com/person/isembard-count-of-autun/) · aged 30 | 850 – 852 | 2 years | died in office read off the dates alone |  |
| [Aleran](https://app.pastlas.com/person/aleran/) · aged 50 | 850 – 852 | 2 years | died in office read off the dates alone |  |
| [Odalric of Barcelona](https://app.pastlas.com/person/odalric-of-barcelona/) | 852 – 858 | 6 years | left office alive read off the dates alone |  |
| [Humfrid](https://app.pastlas.com/person/humfrid/) | 858 – 864 | 6 years | ending not on record |  |
| [Bernard of Gothia](https://app.pastlas.com/person/bernard-of-gothia/) | 865 – 878 | 13 years | left office alive read off the dates alone |  |
| [Wilfred the Hairy](https://app.pastlas.com/person/wilfred-the-hairy/) | 878 – 897 | 19 years | died in battle Wikidata's manner of death |  |
| [Wilfred II Borell](https://app.pastlas.com/person/wilfred-ii-borell/) · aged 23 | 897 – 911 | 14 years | died in office read off the dates alone | child |
| 10th century · 4 reigns · 1 killed or removed |  |  |  |  |
| [Sunyer of Barcelona](https://app.pastlas.com/person/sunyer-of-barcelona/) · aged 21 | 911 – 947 | 36 years | abdicated Wikidata's end cause on the term | sibling |
| [Miro of Barcelona](https://app.pastlas.com/person/miro-of-barcelona/) · aged 21 | 947 – 966 | 19 years | died in office read off the dates alone | child |
| [Borrell II](https://app.pastlas.com/person/borrell-ii/) · aged 19 | 947 – 992 | 45 years | left office alive read off the dates alone | sibling |
| [Ramon Borrell](https://app.pastlas.com/person/ramon-borrell/) · aged 20 | 992 – 1017 | 25 years | died in office read off the dates alone | child |
| 11th century · 7 reigns · 1 killed or removed |  |  |  |  |
| [Berenguer Ramon I](https://app.pastlas.com/person/berenguer-ramon-i/) · aged 16 | 1021 – 1035 | 14 years | died in office read off the dates alone | child |
| [Ramon Berenguer I of Barcelona](https://app.pastlas.com/person/ramon-berenguer-i-of-barcelona/) · aged 12 | 1035 – 1076 | 41 years | died in office read off the dates alone | child |
| [Berenguer Ramon II](https://app.pastlas.com/person/berenguer-ramon-ii/) · aged 22 | 1076 – 1082 | 6 years | left office alive read off the dates alone | child |
| [Ramon Berenguer II of Barcelona](https://app.pastlas.com/person/ramon-berenguer-ii-of-barcelona/) · aged 23 | 1076 – 1082 | 6 years | killed in office Wikidata's manner of death | sibling |
| [Ramon Berenguer III of Barcelona](https://app.pastlas.com/person/ramon-berenguer-iii-of-barcelona/) | 1082 – 1097 | 15 years | left office alive read off the dates alone | child |
| [Berenguer Ramon II](https://app.pastlas.com/person/berenguer-ramon-ii/) · aged 28 | 1082 – 1097 | 15 years | resigned read from the ruler's own article |  |
| [Ramon Berenguer III of Barcelona](https://app.pastlas.com/person/ramon-berenguer-iii-of-barcelona/) · aged 15 | 1097 – 1131 | 34 years | died in office read off the dates alone | nephew or niece |
| 12th century · 3 reigns |  |  |  |  |
| [Ramon Berenguer IV of Barcelona](https://app.pastlas.com/person/ramon-berenguer-iv-of-barcelona/) · aged 18 | 1131 – 1162 | 31 years | died in office read off the dates alone | child |
| [Petronilla of Aragon](https://app.pastlas.com/person/petronilla-of-aragon/) · aged 26 | 1162 – 1164 | 2 years | left office alive read off the dates alone | spouse |
| [Alfonso II of Aragon](https://app.pastlas.com/person/alfonso-ii-of-aragon/) · aged 5 | 1162 – 1196 | 34 years | died in office read off the dates alone | child |

25 rulers, 25 with terms dated as terms, covering 801 – 1196. Median reign 13.5 years. 9 of 27 handovers irregular - a killing, a deposition, a rival claimant, a rising or a coup beside it. A blank in the last column means no kin on record, which is coverage, never “unrelated”.

### Longest reigns

- ![](https://upload.wikimedia.org/wikipedia/commons/thumb/9/9b/Barcelona_(Montju%C3%AFc)._Ramon_Berenguer_III%2C_Count_of_Barcelona._Sculpture_on_the_facade_of_the_City_of_Barcelona_pavilion_for_the_1929_International_Exposition._1929._Frederic_Mar%C3%A8s%2C_sculptor_(22978555504).jpg/120px-Barcelona_(Montju%C3%AFc)._Ramon_Berenguer_III%2C_Count_of_Barcelona._Sculpture_on_the_facade_of_the_City_of_Barcelona_pavilion_for_the_1929_International_Exposition._1929._Frederic_Mar%C3%A8s%2C_sculptor_(22978555504).jpg)[Ramon Berenguer III of Barcelona](https://app.pastlas.com/person/ramon-berenguer-iii-of-barcelona/)49 yrs
- ![](https://upload.wikimedia.org/wikipedia/commons/thumb/c/ca/Rotlle-genealogic-borrell-II-de-barcelona.jpg/120px-Rotlle-genealogic-borrell-II-de-barcelona.jpg)[Borrell II](https://app.pastlas.com/person/borrell-ii/)45 yrs
- ![](https://upload.wikimedia.org/wikipedia/commons/thumb/5/5e/RamonBerenguel1prijimatribut.jpg/120px-RamonBerenguel1prijimatribut.jpg)[Ramon Berenguer I of Barcelona](https://app.pastlas.com/person/ramon-berenguer-i-of-barcelona/)41 yrs
- ![](https://upload.wikimedia.org/wikipedia/commons/thumb/9/90/Rotlle-genealogic-sunifred-I-de-barcelona.jpg/120px-Rotlle-genealogic-sunifred-I-de-barcelona.jpg)[Sunyer of Barcelona](https://app.pastlas.com/person/sunyer-of-barcelona/)36 yrs
- ![](https://upload.wikimedia.org/wikipedia/commons/thumb/c/cf/Alfonso_II_de_Arag%C3%B3n_from_Liber_feudorum_maior.jpg/120px-Alfonso_II_de_Arag%C3%B3n_from_Liber_feudorum_maior.jpg)[Alfonso II of Aragon](https://app.pastlas.com/person/alfonso-ii-of-aragon/)34 yrs

[All 28 terms, year by year, in the atlas →](https://app.pastlas.com/?q=Q1233672&m=succession)

Its world

## Rivals, and who else stood

### Who it fought most

Wars and battles both took part in, on whichever side: the record names who took part, not who fought whom.

- [Caliphate of Córdoba](https://app.pastlas.com/state/caliphate-of-cordoba/)Sack of Barcelona2

### Meanwhile, elsewhere

The best-known states of other regions that stood while it did; the band is the County of Barcelona’s own years.

- [Maya civilization](https://app.pastlas.com/state/maya-civilization/)Americas and Oceania
- [Chola dynasty](https://app.pastlas.com/state/chola-dynasty/)South Asia
- [Byzantine Empire](https://app.pastlas.com/state/byzantine-empire/)Middle East and North Africa
- [Abbasid Caliphate](https://app.pastlas.com/state/abbasid-caliphate/)Middle East and North Africa
- [Khmer Empire](https://app.pastlas.com/state/khmer-empire/)East and Southeast Asia
- [Tibetans](https://app.pastlas.com/state/tibetans/)South Asia
- [Ancestral Puebloans](https://app.pastlas.com/state/ancestral-puebloans/)Americas and Oceania
- [Song dynasty](https://app.pastlas.com/state/song-dynasty/)East and Southeast Asia

800900100011001200

How it compares

## Among 3,073 states

Each column is a share of the states; gold is the County of Barcelona.

Stood longer than 78% of 3,073 states

*How long it stood: County of Barcelona at 363 years among 3,073 states*

How long it stood, among the states with a recorded end or still standing.

Held more ground at its peak than 21% of 1,464 states

*The most ground it held: County of Barcelona at 19,400 km² among 1,464 states*

The most ground it held, among the states with a border in Cliopatria.

Why it fell

## Why did the County of Barcelona fall?

Historians still argue. Here is what the atlas records about its last century:

×2.8

its land, between 1064 and 1163

1082

Ramon Berenguer II of Barcelona, killed in office

[Investigate why it fell](https://app.pastlas.com/?q=Q1233672)

### What led to it, and what came of it

The investigation's own picture: 5 causes the record names and 12 results, the strongest six of each at their own years, joined to the state by the kind of claim - a recorded statement solid, the article's sentence dashed, a theory dash-dot.

*5 causes above and 2 results below County of Barcelona, each at its own years and joined to it by the kind of claim*

in the articlelinked

[Open the investigation](https://app.pastlas.com/?q=Q1233672): every row with its evidence, the conditions at the time, the theories condition by condition, and the succession analysed.

### Its centuries in the record

*Rows recorded within it by century: at most 8 in one century*

Wars and battles in red, risings, coups and massacres beside them, everything else in grey, by the century each began in. A tall bar is partly a fact about Wikipedia: better-documented centuries hold more.

Each century’s own page:[800 – 899](https://app.pastlas.com/century/9th-century/)[900 – 999](https://app.pastlas.com/century/10th-century/)[1000 – 1099](https://app.pastlas.com/century/11th-century/)[1100 – 1199](https://app.pastlas.com/century/12th-century/)

## Keep exploring

[Watch its borders, 898 → 1164The live map, with every state around it. Press play.](https://app.pastlas.com/?v=map&y=898&sel=Q1233672)[Everything beside it, 765 – 1200Every state, war and life of its years, region by region.](https://app.pastlas.com/?v=timeline&sel=Q1233672&t=765,1200)[All 22 of its entriesOpen it in the atlas and read them by kind or century.](https://app.pastlas.com/?sel=Q1233672)

Share this page<iframe src="https://app.pastlas.com/state/county-of-barcelona/embed/" width="640" height="470" style="border:0;max-width:100%" loading="lazy" title="County of Barcelona in 1152, a map from Pastlas"></iframe>

“County of Barcelona”, Pastlas, a historical atlas, 2026-11-26. https://app.pastlas.com/state/county-of-barcelona/

## How this page is made

Drawn from Wikidata (Q1233672, CC0), borders from Cliopatria (CC BY 4.0), coast and rivers from Natural Earth, cities from Reba, Reitsma & Seto 2016 (CC BY 4.0). Data built 2026-11-26 · Pastlas v2.47.1, by Oleh Voronko; the published atlas and its data are for non-commercial use.

## How to read it

Areas are measured on an equal-area grid from borders simplified to about five kilometres. “c.” marks an approximate date, and a date known to the century is never printed to the year. Counts are what the atlas holds, and they follow Wikipedia’s coverage: a busy century is partly a fact about the record.

## Something wrong?

Tell us and name the entry. We fix the data, not just this page.

[Report a problem](https://app.pastlas.com/form/?e=Q1233672&l=County+of+Barcelona&y=801+%E2%80%93+1164&from=%2Fstate%2Fcounty-of-barcelona%2F)
