Libya, officially the State of Libya, is a country in North Africa bordered on the north by the Mediterranean Sea, on the east by Egypt, on the southeast by Sudan, on the south by Chad, on the south by Niger, on the southwest by Algeria, and on the northwest by Tunisia. Tripolitania, Fezzan, and Cyrenaica are the three historical regions that make up the sovereign state. Libya is Africa's fourth largest country and the world's 16th largest country, with an area of nearly 700,000 square miles. Libya has the world's tenth-largest proven oil reserves of any nation. Tripoli, Libya's largest city and capital, is situated in western Libya and is home to over three million of the country's seven million residents. Berbers have lived in Libya since the late Bronze Age as descendants of Iberomaurusian and Capsian cultures. In western Libya, the Phoenicians founded trading posts, while in eastern Libya, ancient Greek colonists established city-states. Before being a part of the Roman Empire, Libya was ruled by Carthaginians, Persians, Egyptians, and Greeks. Libya was an early Christian hotspot. Following the collapse of the Western Roman Empire, the Vandals controlled much of Libya until invasions brought Islam to the region in the 7th century. The Spanish Empire and the Knights of St John occupied Tripoli in the 16th century until Ottoman rule began in 1551. Libya was a participant in the 18th and 19th century Barbary Wars. Ottoman rule lasted until the Italo-Turkish War, when Italy occupied Libya and formed two colonies, Italian Tripolitania and Italian Cyrenaica, which were later merged into the Italian Libya colony from 1934 to 1947. Libya was a battleground in the North African Campaign during World War II. The Italian population began to dwindle. Libya gained independence as a country in 1951. King Idris I was deposed by a military coup in 1969, and Muammar Gaddafi, the "bloodless" coup leader, ruled Libya from 1969 until the Libyan Cultural Revolution in 1973, when he was overthrown and killed in the 2011 Libyan Civil War. The House of Representatives in Tobruk and the 2014 General National Congress in Tripoli, which considered itself a continuation of the General National Congress elected in 2012, initially claimed to rule Libya. A unified interim UN-backed Government of National Accord was formed in 2015 after UN-led peace talks between the Tobruk and Tripoli governments, and the GNC was dissolved to support it. Since then, a second civil war has erupted in Libya, with parts of the country divided between the governments of Tobruk and Tripoli, as well as numerous tribal and Islamist militias. On October 24, 2020, the two major warring parties agreed to a formal truce. Libya is a member of the United Nations, the Non-Aligned Movement, the Arab League, the Organization of Islamic Cooperation, and OPEC. The official religion of Libya is Islam, with Sunni Muslims accounting for 96.6% of the population.