A selection of the week’s best photos from across the African continent:
On the eve of Mauritania’s presidential election, a man arrives at the Grand Mosque in Nouakchott for Friday prayers…
Days later supporters of the incumbent president celebrate his re-election. The runner-up, an anti-slavery campaigner, alleges that the vote was stolen.
On Saturday, Ayra Starr becomes the first Afrobeats artist to perform on the Pyramid stage at the UK’s Glastonbury Festival…
Followed the next day by fellow Nigerian star Burna Boy.
Also on Sunday, South African singer Tyla appears at the BET awards in the US and takes home two trophies – for best Best New Artist and Best International Act.
Angola’s Silvio de Sousa and Spain’s Willy Hernangomez vie for the ball during an Olympic basketball qualifier on Wednesday.
Eritrean cyclist Biniam Girmay takes in the moment after winning the third stage of the Tour de France on Monday. He becomes the first black African competitor to win one of the 21 stages in this yearly feat of endurance.
Fishermen bring their catch to shore in Abidjan, Ivory Coast, on Saturday.
The next day, Nigerian golfer Georgia Oboh lines up her putt at the Dow Championship in the US.
Protests continue in Kenya on Tuesday even though an unpopular draft law to raise tax is dropped…
Young people have been at the forefront of these demonstrations in cities and towns across the country.
And on Friday in the Tunisian town of Nabeul, a woman spreads couscous out to dry in the sun.
Go to BBCAfrica.com for more news from the African continent.
Follow us on Twitter @BBCAfrica, on Facebook at BBC Africa or on Instagram at bbcafrica