A selection of the week’s best photos from across the continent and beyond:
Image copyright Getty Images
Image caption
On Monday pictures emerge of the ship that ran aground off the coast of Mauritius split in two…
Image copyright Getty Images
Image caption
… on the previous Saturday workers collect oil that had leaked from the ship…
Image copyright Getty Images
Image caption
…. The oil from the ship, the MV Wakashio, causes ecological devastation in the reef.
Image copyright Getty Images
Image caption
On Tuesday Malians watch television to see their president’s resignation speech…
Image copyright Getty Images
Image caption
… President Ibrahim Boubacar Keita had been arrested earlier that day by Malian mutineers who stormed through the capital, Bamako.
Image copyright Getty Images
Image caption
On Tuesday South African farmers stage a protest about attacks on farms. The two in the picture, Alwyn van Zyl, and his wife Pauline, were attacked in March. She survived but he died.
Image copyright Getty Images
Image caption
On Friday Morocco’s Soufiane EL Bakkali competes in the steeplechase in Monaco.
Image copyright Getty Images
Image caption
On Sunday in the Democratic Republic of Congo’s capital Kishasa, Catholic Mass is celebrated for the first time since lockdown began in March.
Image copyright Getty Images
Image caption
The previous day, volunteers disinfect the prayer hall in the El Fateh mosque in Algeria’s capital Algiers to reduce the spread of coronavirus.
Image copyright Getty Images
Image caption
In another part of the city people cool off at the beach.
Image copyright Getty Images
Image caption
… Same day, different beach. This time in the small fishing village of Bargny in Senegal.
Image copyright Getty Images
Image caption
On Tuesday people relax at the beach in Libya’s capital Tripoli amid a heat wave and a power cut.