A selection of the week's best photos from across the continent and beyond:
Image source, MAHMUD TURKIA/AFP
People walk under incandescent stars strewn across the streets of Libya's capital Tripoli during the Muslim holy month of Ramadan on Tuesday.
Image source, KIM LUDBROOK/EPA
On the same day, cyclists zip through the winelands of South Africa's Western Cape in the 97km (60 mile)- ABSA Cape Epic MTB race.
Image source, ZOHRA BENSEMRA/REUTERS
Also on Tuesday, a child in Senegal carries bread before breaking the Ramadan fast.
Image source, JEROME FAVRE/EPA
Supporters of Senegalese opposition politician Ousmane Sonko celebrate his release from prison in the streets of the capital, Dakar, on Friday.
Image source, ARLETTE BASHIZI/REUTERS
On Wednesday, Sheikh Mussa Ahmad Mabange stands outside a mosque in the Democratic Republic of Congo city of Goma.
Image source, PATRICK MEINHARDT/AFP
Black metal band Chovu gives an electric performance at a concert in Kenya's capital Nairobi on Saturday...
The performance is spellbinding and full of energy....
....and fans sing along enthusiastically.
Image source, OLYMPIA DE MAISMONT/AFP
Ballerinas practise their fifth-position pose in class on Tuesday.
Image source, MOHAMED MESSARA/EPA
On the same day, members of the Syrian group Chouyoukh Salatin Tarab perform at the Municipal Theatre in Tunisia.
Images subject to copyright