A selection of the week's best photos from across the continent and beyond:
On Wednesday, this South African woman walks to her nearest polling station in Nkandla to cast her vote in the country's most closely fought election since 1994…
….the lines are long and some people wait for hours before they are able to cast their ballot….
…but this young girl come prepared for the long wait in Cape Town.
In Durban, voters cast their ballots in the hopes that the elected government will solve issues like unemployment, corruption and crime.
South Africans aren't the only ones voting, in Kenya women from the Maasai community, who are members of Keekonyokie Community Trust, line up to elect a new leader on the outskirts of the capital Nairobi on Friday.
On Monday, a dancer wears a half-goat, half-man costume to celebrate the annual Joujouka Musical Festival in northern Morocco.
The joy of the festival continues inside a richly coloured tent as a group called The Master Musicians of Joujouka entertains onlookers with their rambunctious performance.
This aerial photo sees an enthusiastic surfer ride a massive wave in Senegal's capital Dakar, known for its great surfing.
In Nigeria, trumpeters play fun tunes on Children's Day on Monday in Lagos.
On Sunday, a newly married couple dances in the streets of Ethiopia as they celebrate their union.
Images subject to copyright
Africa Today podcasts
The Comb podcasts
The final leg of an epic race…
Jaws will drop and spines will tingle
Discovering the wonders of Uganda
How did Champagne Charlie get his name?
© 2024 BBC. The BBC is not responsible for the content of external sites. Read about our approach to external linking.

More Stories
The Shift in Peering Threatening the Internet’s Foundations
Remembering Alan Barrett: A Builder of the African Internet
From Email to Case Study: What We Learned About Connecting Refugee Communities in Just One Year