A selection of photos from across the African continent this week:

The slogan on this rather overloaded lorry reads: "I give myself to God" as it drives around the Mali capital, Bamako, on Saturday.

On the same day, this man watches over his herd of cattle in neighbouring Ivory Coast.

The holy Muslim month of Ramadan began this week, when Muslims fast from dawn to dusk. In Cairo, El Mesaharty Hussien, 40, uses a drum to wake people up for their pre-dawn meals on Monday...

... While elsewhere in Cairo, these people choose special Ramadan lanterns or "fanoos Ramadan" on Monday.

On Tuesday, this man walks through a South African mosque after breaking his fast.

While these Kenyan schoolchildren perform their prayers on the same day.

On Friday, this Ivorian football fan shows off his ticket for Saturday's African Cup of Nations qualifying match against Gabon in Bouake...

During the match, Ivorian fans showed off this giant jersey.

While in Monrovia, Liberian firefighters sprayed fans with water to cool them down during their match against Togo on Sunday...

...Togo star Emmanuel Adebayor doesn't need any help to be cool.

South Sudan defender Attir Thomas Tom makes a spectacular clearance in their home match against Mali on Sunday.

These Zimbabwean supporters do everything they can to get behind their team on Sunday in their match against Malawi.

On Saturday, a member of the Sahrawi People's Liberation Army holds a flag during the funeral of Mohamed Abdelaziz, the longtime leader of the Polisario Front, which is fighting for Western Sahara's independence from Morocco.

Queen Elizabeth II shakes hands with Ethiopia's ambassador to the UK Hailemichael Aberra Afework after he presented his credentials on Wednesday.

A shoe is washed up on the Libyan shore near Zuwara on Saturday. There has been a surge in the numbers of migrants trying to get from Libya to Europe in recent weeks, hundreds of whom have lost their lives.

Eric Obeng, a Ghanaian student in the US, poses for a friend while paying his respects to Muhammad Ali at his star on The Hollywood Walk of Fame on Saturday...

... In South Africa, a female boxer takes part in a special training session in memorial of the boxing superstar.

Judo athlete Yolande Bukasa, from Democratic Republic of Congo, performs during Friday's news conference where she was announced as part of the team of refugee athletes to take part in the 2016 Rio Olympics.

On Monday, a motorcycle carries protesters calling for Kenya's electoral commission to be disbanded.