The week's best picture galleries:

Siege of Marawi finally over after last gunfight killed 40 militants and their wives

Inside Marawi: New photos of shattered city reveal ferocity of battle against Isis militants

What the 8 prototypes of Trump's US-Mexico border wall look like and how much they cost

At least one dead in violent clashes as Odinga supporters boycott second Kenya election

Another Dresden: Russia accuses US of wiping Raqqa off face of the earth with barbaric bombing

Thailand: Crowds camp out in Bangkok's torrential rain for king's funeral

Lavish funeral ceremony for Thailand's King Bhumibol Adulyadej, also known as Rama IX

Thailand's new king picks through father's bones and ashes after elaborate cremation ceremony

Photos of the brief but bloody anti-Soviet Hungarian Uprising of 1956

Britain's most beautiful and dramatic scenery: Landscape Photographer of the Year 2017 book

Autumn 2017: Beautiful photos of the season of mists and mellow fruitfulness

Force of Nature: Sensational weather, wildlife, underwater and aerial photos

Chhath Puja festival photos: Hindu women wade into rivers and lakes and offer fruit to the sun