A selection of photos from Africa and of Africans elsewhere in the world this week:

Kenya's Ezekiel Kemboi flies high during the men's 3,000m steeplechase final in Rio on Wednesday. He took bronze but was later disqualified for stepping off the track...

The next day, Egypt's Hedaya Wahba celebrates becoming her country's second-ever female Olympic medallist, securing bronze in taekwondo...

On day seven of the Games, Cameroon's Bodo Essissima Madeleine Samantha celebrates winning a point in a volleyball match against Argentina. Neither team made it past the preliminary rounds...

Benin's best-performing Olympic athlete has been Noelie Yarigo - seen here competing in the women's 800m semi-final on Thursday. She did not make it to the final, coming fifth.

It was not only athletes looking for gold this week. Here miners use metal detectors on Monday in their search in a forested area in central Ivory Coast.

The next day, Ivorian reggae singer Tiken Jah Fakoly performs during a musical festival in Tunisia's capital, Tunis.

After a closely fought election, supporters of Zambia's President-elect Edgar Lungu - and their dog - dress up to celebrate his victory on Monday.

On the same day in neighbouring Malawi, handcuffed men eat during a break at their trial in Nsanje. They include Eric Aniva (R), a sex worker known in Malawi as a "hyena", accused having sex with children as part of initiation rites.

A woman looks out of over the Egyptian capital from an observation deck of the Cairo Tower on Wednesday evening.

On the same day a photographer looks down on clashes in Zimbabwe's capital, Harare, where police disperse people protesting against the introduction of bond notes as a cash substitute.

A mine worker in South Africa stands on a hill on Tuesday waiting for a commemoration to get under way on the fourth anniversary of the shooting by police of striking workers in Marikana...

It was the most deadly action by security forces since apartheid ended in 1994. Here miners dance and sing to remember their 34 colleagues.
Images courtesy of AFP, AP, EPA, Getty Images and Reuters