A selection of the best photos of the week from across the continent:
In the Ghanaian city of Tema, pictures were taken on Friday of a newly unveiled mural in memory of world-famous footballer Christian Atsu, who died in the earthquake in Turkey.
A painted man attends the opening ceremony of the Pan-African film festival Fespaco in Ouagadougou, the capital of Burkina Faso, on Saturday.
A Maasai man films US First Lady Jill Biden’s visit to a village in Kajiado County in southern Kenya on Sunday.
Illegal harvested sandalwood seized by Kenyan security agents was set on fire on Tuesday by order of a court in the capital Nairobi.
On the same day, a participant in the Sahara Marathon runs past camels fenced off by car wrecks in Algeria’s Tindouf desert region.
Relatives of Moroccans who went missing trying to reach Spain by boat demonstrated in front of a European Union building in the capital Rabat on Friday.
Two women hold bouquets of daffodils during a demonstration in Tunisia’s capital on Saturday to protest racism and the president’s comments criticizing the influx of migrants from sub-Saharan Africa.
The red carpet is out for guests arriving Friday at a cricket stadium in the South African city of Pietermaritzburg for a high-profile provincial political event…
Members of the radical EFF opposition party also attended the KwaZulu-Natal prime minister’s annual speech, but were later kicked out for calling her a liar during her speech.
On the same day, patriotic spectators gather in Cape Town to watch the South African women’s cricket team in the semi-finals of the T20 World Cup…
Their ecstatic team went on to win the game against England – although it was Australia that took the crown on Sunday.
A skateboarder shows off his moves on Wednesday during a session at the National Stadium in the Nigerian city of Lagos.
Christians prayed for peace at a shrine in the suburb of Makoko on Friday, on the eve of Nigeria’s election.
Voting day was long and hot for many – here are people standing under an umbrella in Nigeria’s northeastern town of Yola…
A man plays guitar while waiting in line…
Others in the eastern town of Awka play chess at a polling station while they wait. Delays and violence in some areas caused problems…
Things were peaceful in the northern town of Kano, where this sugarcane salesman quickly made business with the voters…
In Lagos, where there was some trouble, people cheer after the results are announced at their polling stations…
Two days later, when opposition parties came out to call the election a sham, a man in Lagos lies in his car to rest from the drama.
On Thursday, French President Emmanuel Macron looked up at a 700-year-old tree in the Forest of Giants near Libreville, Gabon’s capital.
Cyclists in Rwanda, known as the land of a thousand hills, compete in the capital Kigali on Saturday in the final stage of the Tour de Rwanda – won by Henok Mulueberhane of Eritrea.
And a man in West Suhail, near Egypt’s Aswan High Dam, held up a crocodile on Friday. Residents of the Nubian village breed the reptiles while tourists pay to see the tamed creatures.