Algeria is a member of the United Nations, African Union, OPEC and the Arab League. It also contributed toward the creation of the Maghreb Union. Algeria is considered by the Berbers to be a part of the Berber World.
From about AD 1516 to 1830, Algeria was under the rule of the Ottoman Empire, and a safe haven for the Barbary Pirates. In 1830, France invaded, and after a brutal period of warfare, fully integrated Algeria into its empire, directly administering Algeria as a part of France proper. In 1954, Algerian rebels launched what became a war for independence, ending in 1962 with the withdrawal of French forces.