Votes are being counted in Namibia in what could be the most competitive election since independence from white-ruled South Africa 34 years ago.
The poll was marred by logistical issues with voting continuing for an unscheduled second day on Thursday in some areas.
Netumbo Nandi-Ndaitwah is seeking to become the country's first female president.
She is the candidate of the governing South West Africa's People's Organisation (Swapo), to replace Hage Geingob, who died in February after nine years in office.
But high unemployment, poverty, inequality and corruption allegations have eroded support for the party.
Nandi-Ndaitwah's main challenger is Panduleni Itula of the Independent Patriots for Change (IPC) party, as well as 13 other candidates.
Long queues were reported at schools and other polling centres throughout the day on Wednesday.
But there were reports of ballot shortages at some polling stations.
The voting, which started at 07:00 local time (05:00 GMT) was due to end at 21:00. But some polling stations still had a large number of voters waiting within their compounds to cast a ballot.
Electoral Commission spokesman Siluka De Wet told the AFP news agency on Thursday morning that "some people were still voting".
Elsewhere, local media were reporting the results from some polling stations.
Several opposition parties had asked for the voting to be extended until Thursday because of the logistical issues.
Swapo has been in power since leading the country to independence in 1990.
A candidate requires more than 50% of the vote for outright victory, or there will be a second round run-off between the top two candidates.
Results are expected over the coming days.
Nandi-Ndaitwa cast her ballot in the capital Windhoek as the polls opened, urging fellow Namibians to go out and cast their vote, saying it will "have an impact for the next five years in your life".
She is up against a traditional and male-dominated political culture in the country.
But she is a trusted leader having served in high government office for a quarter of a century.
Itula, a former dentist and lawyer, took 29% of the votes in the last elections in 2019, losing to Swapo leader Geingob, who got 56%.
He said this was an important day for Namibia’s democracy, as he cast his vote in the capital.
Namibia is currently led by interim President Nangolo Mbumba, who took over in February after Geingob died, but he is not running.
Analysts say the outcome could depend on young voters, who make up more than half of the electorate.
Namibians are also choosing new members of parliament.
Namibia is a vast and peaceful country with a sparse population of about three million, around half of whom are eligible to vote.
Latest Stories
-
DJ Millzy and El Chapo’s ‘Pine & Jinja Campus Tour’ hits 100,000 students in first phase
59 seconds -
Nigeria declares public holiday to honour former leader who died aged 82
12 minutes -
Obuasi East Municipal Assembly exceeds revenue target
15 minutes -
Agradaa files bail pending appeal at High Court
19 minutes -
KNUST SMS, University of Utah mark 20 years of medical partnership with renewed commitment to training and exchange
23 minutes -
Fafali Foundation expresses gratitude after JoyNews Impact Makers triumph
23 minutes -
Firefighters contain blaze at Paatang Trassaco
27 minutes -
‘Great feeling’: Palmer hails Maresca after Chelsea glory but Trump booed at final
29 minutes -
Canada: 17-year-old wanted for killing Ghanaian immigrant in shooting
33 minutes -
DSTV, Market Power, and the urgent case for competition (Antitrust) Law Reset
35 minutes -
New AI Skills Fellowship aims to train 10,000 Africans by the end of 2025
36 minutes -
Galamsey Clampdown: Ankobra River patrol records success, over 150 changfangs destroyed
36 minutes -
Over 500 removed from security services after recruitment audit
55 minutes -
National Peace Council moves headquarters to Roman Ridge, boosts regional peace efforts
1 hour -
NSMQ 2025: St. Charles Minor Seminary brushes aside rivals, calls contest “Too Simple” after winning
1 hour