A selection of the week’s best photos from across the African continent:

JOHN WESSELS/AFP A man arrives at the Grand Mosque for Friday prayers in Nouakchott on June 28, 2024. JOHN WESSELS/AFP

On the eve of Mauritania’s presidential election, a man arrives at the Grand Mosque in Nouakchott for Friday prayers…

 JOHN WESSELS/AFP  Supporters of the President of Mauritania and leader of the Union for the Republic, Mohamed Ould Cheikh El Ghazouani celebrate in Nouakchott on July 01, 2024. Mauritania's incumbent President Mohamed Ould Cheikh El Ghazouani has comfortably won re-election, receiving 56.12 percent of votes in the first round of the presidential poll, the Independent National Electoral Commission (CENI) said Monday. (Photo by JOHN WESSELS / AFP) (Photo by JOHN WESSELS/AFP via Getty Images) JOHN WESSELS/AFP

Days later supporters of the incumbent president celebrate his re-election. The runner-up, an anti-slavery campaigner, alleges that the vote was stolen.

LEON NEAL/GETTY IMAGES  Nigerian artist Ayra Starr (C) performs on the Pyramid Stage during day four of Glastonbury Festival 2024 at Worthy Farm, Pilton on June 29, 2024 in Glastonbury, England. LEON NEAL/GETTY IMAGES

On Saturday, Ayra Starr becomes the first Afrobeats artist to perform on the Pyramid stage at the UK’s Glastonbury Festival…

OLI SCARFF/AFP Nigerian singer Burna Boy performs on the pyramid stage on the fifth day of the Glastonbury festival at Worthy Farm in the village of Pilton in Somerset, southwest England, on 30 June.OLI SCARFF/AFP

Followed the next day by fellow Nigerian star Burna Boy.

GILBERT FLORES/GETTY IMAGES Tyla on the red carpet on 30 June.GILBERT FLORES/GETTY IMAGES

Also on Sunday, South African singer Tyla appears at the BET awards in the US and takes home two trophies – for best Best New Artist and Best International Act.

BORJA B HOJAS/GETTY IMAGES Angola's Silvio De Sousa and Spain's Willy Hernangomez vye for the ball during an Olympic basketball qualifier on Wednesday.BORJA B HOJAS/GETTY IMAGES

Angola’s Silvio de Sousa and Spain’s Willy Hernangomez vie for the ball during an Olympic basketball qualifier on Wednesday.

THOMAS SAMSON/AFP Eritrean cyclist Biniam Girmay on the podium.THOMAS SAMSON/AFP

Eritrean cyclist Biniam Girmay takes in the moment after winning the third stage of the Tour de France on Monday. He becomes the first black African competitor to win one of the 21 stages in this yearly feat of endurance.

ISSOUF SANOGO/AFP Fishermen bring their canoe in from the sea.ISSOUF SANOGO/AFP

Fishermen bring their catch to shore in Abidjan, Ivory Coast, on Saturday.

DYLAN BUELL/GETTY IMAGES  Georgia Oboh of Nigeria lines up a putt on the fifth green during the final round of the Dow Championship at Midland Country Club on 30 June in Midland, Michigan.DYLAN BUELL/GETTY IMAGES

The next day, Nigerian golfer Georgia Oboh lines up her putt at the Dow Championship in the US.

BONIFACE MUTHONI/GETTY IMAGES  A protester with both hands tied with a chain takes part in an anti-government protest on 2 July.BONIFACE MUTHONI/GETTY IMAGES

Protests continue in Kenya on Tuesday even though an unpopular draft law to raise tax is dropped…

BONIFACE MUTHONI/GETTY IMAGES A Kenyan policeman gestures at a protestor wearing a mask in Nairobi, Kenya, on 2 July.BONIFACE MUTHONI/GETTY IMAGES

Young people have been at the forefront of these demonstrations in cities and towns across the country.

FETHI BELAID/AFP A Tunisian woman spreads couscous to dry in the sun in Nabeul, southwest of Tunis on 28 June.FETHI BELAID/AFP

And on Friday in the Tunisian town of Nabeul, a woman spreads couscous out to dry in the sun.

Getty Images/BBC A woman looking at her mobile phone and the graphic BBC News AfricaGetty Images/BBC

Go to BBCAfrica.com for more news from the African continent.

Follow us on Twitter @BBCAfrica, on Facebook at BBC Africa or on Instagram at bbcafrica