Libya, officially the State of Libya, is a country in the Maghreb region of North Africa bordered by the Mediterranean Sea to the north, Egypt to the east, Sudan to the southeast, Chad and Niger to the south, and Algeria and Tunisia to the west. The three traditional parts of the country are Tripolitania, Fezzan and Cyrenaica. With an area of almost 1.8 million square kilometres, Libya is the 17th largest country in the world.The largest city and capital, Tripoli, is home to 1.7 million of Libya's 6.4 million people. In 2009 Libya had the highest HDI in Africa and the fifth highest GDP per capita in Africa, behind Equatorial Guinea, Seychelles, Gabon, and Botswana. Libya has the 10th-largest proven oil reserves of any country in the world and the 17th-highest petroleum production.A civil war and NATO-led military intervention in 2011 resulted in the ousting and death of the country's former leader, Muammar Gaddafi, and the collapse of his 42-year "First of September 'Al Fateh' Revolution" and 34-year-old Jamahiriya state. As a result, Libya is currently undergoing political reconstruction, and is governed under an interim constitution drawn up by the National Transitional Council. Elections to a General National Congress were held on 7 July 2012, and the NTC handed power to the newly elected assembly on 8 August. The assembly has the responsibility of forming a constituent assembly to draft a permanent constitution for Libya, which will then be put to a referendum.