Mauritania set for first democratic transition of power
Mauritania has been voting in what may result in the first democratic transition of power since the West African country achieved independence in 1960.
President Mohamed Ould Abdel Aziz seized power in a coup in 2008, but has agreed to step down and abide by a two-term limit of office.
Votes are now being counted and the result should be known next week.
Six candidates are competing for the presidency.
The frontrunner is Mohamed Ahmed Ould Ghazouani, the country's defence minister and a close ally of the current president, BBC West Africa correspondent Louise Dewast reports.
Opposition candidates also took part in a move seen as a positive step forward, after boycotting several previous polls.
The five other candidates include former Prime Minister Sidi Mohamed Ould Boubacar, and a well-known activist and anti-slavery campaigner, Biram Dah Abeid.
The country's electoral commission promised a free and fair election, despite claims by the opposition that it was biased in favour of the governing party.
Mauritania's press authority said on Friday that it had received no complaints about the coverage of the campaign.
The most critical issue on the campaign trail has been the standard of living, which every candidate has promised to improve.
Slavery also remains an issue. Mauritania became the final country in the world to formally abolish slavery in 1981, but it continues to this day. Criminal laws allowing slaveholders to be prosecuted were passed in 2007, but have yet to be fully and effectively enforced.
After Mauritania achieved independence from France in 1960, the country's first president held power for 18 years before being ousted in a military coup. More coups followed in 1984, 2005 and 2008.
If Saturday's election ends with no clear winner, a run-off election is due to be held on 6 July.