The country derives its name from the ancient BerberKingdom of Mauretania, which existed from the 3rd century BC to the 7th century AD, in the far north of modern-day Morocco. Approximately 90% of Mauritania's land is within the Sahara and consequently the population is concentrated in the south, where precipitation is slightly higher. The capital and largest city is Nouakchott, located on the Atlantic coast, which is home to around one-third of the country's 3.5 million people. The government was overthrown on 6 August 2008, in a military coup d'état led by General Mohamed Ould Abdel Aziz. On 16 April 2009, Aziz resigned from the military to run for president in the 19 July elections, which he won.