A selection of the best photos from across Africa and of Africans elsewhere in the world this week.
Reuters
A Malian was at the centre of one of the week's biggest stories. Mamoudou Gassama scaled a building to rescue a child - his heroism earning him an invite to meet the French president on Monday.
AFP
In Mali on Wednesday, a man is pictured sitting in a mosque in Mopti during a visit by UN chief Antonio Guterres.
AFP
In Cairo, Egyptians cheer on a different hero on Saturday: Mo Salah as he played for Liverpool in the Uefa Champions League Final.
Getty Images
Over in the US on Wednesday, Ghanaian Shifa Amankwah-Gabbey, 12, searches for her own slice of glory at the 91st Scripps National Spelling Bee.
Getty Images
On the same day, a 1930s "runner mask", or "Mabu", made by the Wum people in Cameroon, goes on display ahead of an auction in England.
Reuters
Three days earlier, a man is pictured praying after breaking his Ramadan fast at the Sheikh Dafallah Mosque in the Sudanese capital Khartoum.
AFP
On Friday, community spirit sees volunteers help clear up Kibera slum, in the Kenyan capital Nairobi.
AFP
In Zimbabwe, thoughts are turning to the election, due on 31 July. On Tuesday, this prospective voter checks her registration details.
AFP
In Madagascar, leadership is on people's mind: these opposition supporters are out in force on Saturday to demand the president's resignation.
AFP
On the same day across the water in South Africa's city of Durban, it is all about celebrating the continent in a street carnival marking Africa Month.