A selection of photos from across Africa this week:
MARCO LONGARI
On Saturday we see a sea of blue in a rally for South Africa's main opposition party, the DA, ahead of the election...
MARCO LONGARI
A day later it is the turn of the governing ANC supporters to put on their party colours...
Getty Images
... and the big day is on Wednesday.
Getty Images
Meanwhile in Sudan, demonstrators are still fighting for democracy. On Monday a protester wears a Guy Fawkes mask at a sit-in outside the army's headquarters...
Getty Images
The protesters are continuing their sit-in during Ramadan, insisting the military council hands over to a civilian government.
Getty Images
Another long-running mass protest is seen over in Algeria. As in Sudan, these protesters have toppled their president but want the whole old guard to go.
YASUYOSHI CHIBA
On Saturday, Vianney Rusanganwa holds a portrait of his late wife Liberatha Mukangira during the mass funeral to bury 81 coffins containing newly discovered remains of 84,437 victims of the 1994 genocide in Rwanda.
Getty Images
On Tuesday a shipwreck is hauled through Venice's streets ahead of being an exhibit at the biennale. The fishing vessel regularly took the trip from Libya to Italy until it sank in 2015 with hundreds of migrants hidden in its hull.
Getty Images
On Friday competitors take part in the Titan Desert mountain biking race in Morocco.
Getty Images
And on Sunday Malian footballer Kalifa Coulibaly has a head-to-head with Nantes team mate Abdoulaye Toure in the French L1 match.