The Queen's coffin will rest overnight in the palace's Bow Room-1

The Queen’s coffin has arrived at Buckingham Palace ahead of lying in state from Wednesday evening.

She was taken from St Giles’ Cathedral to Edinburgh Airport before being flown back to London, with the national anthem playing as the aircraft taxied.

Princess Anne accompanied her mother’s body, and the prime minister was among those waiting when it landed at a rainy RAF Northolt on the outskirts of west London.

Thousands lined the route as her coffin was driven along the A40 towards the centre of the city.

There were cheers as the hearse pulled in to Buckingham Palace, where it will rest overnight.

See more photos below:

The Queen’s journey back to Buckingham Palace
The Queen’s coffin draped in the Royal Standard of Scotland leaves St Giles’ Cathedral
The hearse carrying the coffin made its way up the Royal Mile
Thousands again gathered to pay their respects in Edinburgh
The hearse makes its way to Edinburgh Airport
RAF pallbearers prepare for the arrival of Her Majesty’s coffin
Pallbearers from the Queen’s Colour Squadron of the RAF carry the coffin on to a C-17 aircraft
Pallbearers from the Queen’s Colour Squadron of the RAF carry the coffin on to a C-17 aircraft-1
The Princess Royal at Edinburgh Airport as she prepares to accompany her mother’s body
The aircraft carrying the Queen takes off
The Queen’s coffin is taken off the aircraft at RAF Northolt in west London
The Queen’s coffin is taken off the aircraft at RAF Northolt in west London-1
The prime minister was one of those waiting to receive the Queen as she arrived back in England
People lined the streets as the hearse began the 15-mile journey to Buckingham Palace
People lined the streets as the hearse began the 15-mile journey to Buckingham Palace-1
The cortege passed Marble Arch as it entered central London
Pic-AP
There was a sombre atmosphere as people waited for the cortege to arrive at Buckingham Palace. Pic-AP
Pic-AP-1
Cheers went up and people held their phone lights in the air as the hearse approached
The Queen’s coffin will rest overnight in the palace’s Bow Room
The Queen’s coffin will rest overnight in the palace’s Bow Room-1
Queen
Queen’s coffin arrives at Buckingham Palace