Algeria (/ (listen) JEER-ee-ə; Arabic: الجزائر, romanized: al-Jazāʾir, Algerian Arabic: الدزاير, romanized: al-dzāyīr; French: Algérie), officially the People's Democratic Republic of Algeria (Arabic: الجمهورية الجزائرية الديمقراطية الشعبية, romanized: al-Jumhūriyya al-Jazāʾiriyya ad-Dīmuqrāṭiyya aš-Šaʿbiyya, French: République algérienne démocratique et populaire, abbreviated as RADP), is a country in the Maghreb region of North Africa. The capital and most populous city is Algiers, located in the far north of the country on the Mediterranean coast. With an area of 2,381,741 square kilometres (919,595 sq mi), Algeria is the tenth-largest country in the world, the world's largest Arab country, and the largest in Africa. Algeria is bordered to the northeast by Tunisia, to the east by Libya, to the west by Morocco, to the southwest by the Western Saharan territory, Mauritania, and Mali, to the southeast by Niger, and to the north by the Mediterranean Sea. The country is a semi-presidential republic consisting of 48 provinces and 1,541 communes (counties). It has the highest human development index of all the non-island African countries.
Pre-1962 Algeria has known many empires and dynasties, including ancient Numidians, Phoenicians, Carthaginians, Romans, Vandals, Byzantines, Umayyads, Abbasids, Idrisid, Aghlabid, Rustamid, Fatimids, Zirid, Hammadids, Almoravids, Almohads, Zayyanids, Spaniards, Ottomans and, finally, the French colonial empire. Berbers are the indigenous inhabitants of Algeria.
Algeria is a regional and middle power. It supplies large amounts of natural gas to Europe, and energy exports are the backbone of the economy. According to OPEC Algeria has the 16th largest oil reserves in the world and the second largest in Africa, while it has the 9th largest reserves of natural gas. Sonatrach, the national oil company, is the largest company in Africa. Algeria has one of the largest militaries in Africa and the largest defence budget on the continent; most of Algeria's weapons are imported from Russia, with whom they are a close ally. Algeria is a member of the African Union, the Arab League, OPEC, the United Nations and is a founding member of the Arab Maghreb Union.
On 2 April 2019, president Abdelaziz Bouteflika resigned after nearly 20 years in power, following pressure from mass protests against a fifth term.
The country's name derives from the city of Algiers. The city's name in turn derives from the Arabic al-Jazāʾir (الجزائر, "The Islands"), a truncated form of the older Jazāʾir Banī Mazghanna (جزائر بني مزغنة, "Islands of the Mazghanna Tribe"), employed by medieval geographers such as al-Idrisi.