Algeria: a history from Numidia to independence

Africa's largest country won independence in 1962 after a long war against French rule, a struggle that inspired liberation movements across the world. Pakistan backed Algeria's cause at the United Nations.

By Last reviewed

Algeria
Algeria and its neighbours. Borders approximate.

Key facts

Capital
Algiers
Independence
5 July 1962, from France
President
Abdelmadjid Tebboune, since 2019
Population
About 47 million
Languages
Arabic and Tamazight (Berber)
Area
The largest country in Africa

Through the ages

The main periods of Algeria's history, 300 BCE to today. Recent centuries are drawn wider so they can be read.

  1. Numidia300 BCE to 46 BCE
  2. Roman and Vandal Africa46 BCE to 680 CE
  3. Islamic dynasties680 CE to 1516
  4. Ottoman Regency of Algiers1516 to 1830
  5. French Algeria1830 to 1962
  6. Independent Algeria1962 to today

Timeline

  1. c. 8000 BCE
    Culture and faith

    Tassili rock art

    People in the Sahara begin painting thousands of scenes of animals and herders at Tassili n'Ajjer.

  2. 202 BCE
    Empires and dynasties

    Masinissa

    The Berber king Masinissa unites Numidia as an ally of Rome.

  3. 46 BCE
    Empires and dynasties

    Roman Africa

    Rome annexes Numidia. Cities such as Timgad and Djemila are built.

  4. 354 CE
    Culture and faith

    Saint Augustine

    Augustine, one of the most influential Christian thinkers, is born at Thagaste, today's Souk Ahras.

  5. c. 680 CE
    Empires and dynasties

    Islam arrives

    Arab armies under Uqba ibn Nafi reach the region. The Berber peoples gradually accept Islam.

  6. c. 1014
    Culture and faith

    Qal'at Bani Hammad

    The Hammadid dynasty builds its fortified capital, whose minaret still stands.

  7. 1516
    Empires and dynasties

    Ottoman Algiers

    The corsair brothers Aruj and Hayreddin Barbarossa take Algiers, which becomes an Ottoman regency.

  8. July 1830
    Wars and conflict

    The French invasion

    France invades and takes Algiers. Settlers follow and take much of the best land.

  9. 1832
    Wars and conflict

    Emir Abdelkader

    Emir Abdelkader leads resistance against France for 15 years before surrendering in 1847.

  10. 1847
    Wars and conflict

    Abdelkader surrenders

    Emir Abdelkader surrenders to the French. He later lives in Damascus, where in 1860 he shelters thousands of Christians during riots.

  11. 8 May 1945
    Wars and conflict

    Setif and Guelma

    As Europe celebrates victory, French forces kill thousands of Algerians after protests in Setif and Guelma.

  12. 1 November 1954
    Wars and conflict

    The war of independence

    The National Liberation Front, the FLN, launches an armed struggle for independence.

  13. 5 July 1962
    Independence

    Independence

    After the Evian Accords and a referendum, Algeria becomes independent. Hundreds of thousands died in the war.

  14. 1965
    Politics

    Boumediene

    Houari Boumediene overthrows President Ahmed Ben Bella.

  15. January 1992
    Wars and conflict

    The dark decade

    The army cancels elections that an Islamist party was set to win. Conflict kills up to 200,000 people in the 1990s.

  16. 1999
    Politics

    Bouteflika and civil concord

    Abdelaziz Bouteflika is elected president and offers an amnesty to armed groups, helping end the conflict of the 1990s.

  17. February to April 2019
    Politics

    The Hirak

    Peaceful mass protests force President Abdelaziz Bouteflika to resign after 20 years.

Numidia and Rome

Algeria is the largest country in Africa, most of it Sahara desert. Thousands of years ago, when the Sahara was greener, people painted animals and herders on the rocks of Tassili n’Ajjer. The Berber, or Amazigh, peoples have lived in North Africa since prehistory. In the second century BCE King Masinissa united the Berber kingdom of Numidia as an ally of Rome, which later annexed it and built cities such as Timgad and Djemila. Christianity spread widely, and Saint Augustine, one of the most influential Christian thinkers, was born in Numidia in 354.

Islam and the Berber dynasties

Arab armies reached the region in the late seventh century, and over time most Berbers accepted Islam. Great Berber dynasties rose, such as the Hammadids, whose fortified capital still stands, and the Almoravids and Almohads, who ruled North Africa and Spain. In the Mzab valley, Ibadi Muslims built five fortified towns. In 1516 the corsair brothers Aruj and Hayreddin Barbarossa took Algiers, which became an Ottoman regency and a sea power in the Mediterranean.

French rule

France invaded in 1830 and took Algiers. Emir Abdelkader led a resistance for fifteen years before surrendering in 1847. France made Algeria part of France and brought in about a million European settlers, who took much of the best land, while most Algerians were denied equal rights. On 8 May 1945, as Europe celebrated victory, French forces killed thousands of Algerians after protests in Setif and Guelma.

The war of independence

On 1 November 1954 the National Liberation Front launched an armed struggle. The war lasted almost eight years and was marked by French torture and mass killings; hundreds of thousands of Algerians died. The struggle drew support from across the Muslim world and the newly independent states, and Pakistan was among the countries that backed Algeria’s right to independence at the United Nations. After the Evian Accords and a referendum, Algeria became independent on 5 July 1962, and most settlers left.

Independent Algeria

The FLN ruled as a single party, and Houari Boumediene took power in 1965, nationalising oil and gas. When multiparty elections in 1991 pointed to victory for an Islamist party, the army cancelled them, and the conflict of the 1990s killed up to 200,000 people. Abdelaziz Bouteflika, president from 1999, restored peace, but in 2019 the peaceful Hirak protests forced him out. Abdelmadjid Tebboune has been president since. Algeria is a major gas supplier to Europe and a firm supporter of the Palestinian cause.

For our latest reporting on Algeria, see the news listed on this page.

Landmarks and heritage

Ottoman era

Casbah of Algiers

Algiers

The old hillside city, a centre of the independence struggle. A UNESCO World Heritage Site.

Founded about 100 CE

Timgad

Batna

A Roman town built on a grid plan. A UNESCO World Heritage Site.

From about 10,000 years ago

Tassili n'Ajjer

Sahara

Rock paintings and desert landscapes. A UNESCO World Heritage Site.

From the 10th century

M'Zab Valley

Ghardaia

Five fortified Ibadi towns. A UNESCO World Heritage Site.

Roman era

Djemila

Setif province

A Roman mountain town with forum, temples and basilicas. A UNESCO World Heritage Site.

Terms you will meet in the news

FLN
The National Liberation Front, which led the war of independence and long ruled Algeria.
Amazigh
The Berber peoples of North Africa.
Pieds-noirs
European settlers in Algeria, most of whom left in 1962.
Hirak
The peaceful protest movement of 2019.
Casbah
The old walled city of Algiers, a centre of resistance during the war of independence.

Quick answers

When did Algeria become independent?

On 5 July 1962, after a war against French rule that began in 1954.

Did Pakistan support Algeria's independence?

Yes. Pakistan was among the countries that backed Algeria's right to independence at the United Nations during the war.

Who was Emir Abdelkader?

A religious and military leader who resisted the French conquest from 1832 to 1847 and is a national hero.

What is the capital of Algeria?

Algiers, on the Mediterranean coast, which has been the capital since Ottoman times.

Sources and further reading

Compiled by The Indus Compass from the sources above and standard reference works, and reviewed 29 November 2026. Dates before the modern era are approximate and some are debated by historians. Spotted a mistake? Tell the newsroom and we will correct it.