Jeremy Corbyn will speak at the huge demonstration in London against Donald Trump’s state visit, it has been announced.

The Labour leader – who has snubbed the US president’s banquet with the Queen at Buckingham Palace – will join hundreds of thousands of people at the protest on Tuesday.

Earlier, Jeremy Hunt, the foreign secretary, condemned Labour’s opposition to the pomp-filled visit as “virtue-signalling”.

But a Labour spokesperson said: “Jeremy Corbyn will attend and speak at the demonstration tomorrow against President Donald Trump’s state visit.

On Twitter, Mr Corbyn pointed to the US president’s extraordinary attack on the Mayor of London, as he arrived in the UK, as one of the reasons for his decision.

President Trump in Britain for state visit: In pictures Show all 40 1 /40 President Trump in Britain for state visit: In pictures President Trump in Britain for state visit: In pictures President Trump, Prime Minister Theresa May and Jeremy Hunt, the foreign secretary, pose for a photo during dinner at Winfield House, the US ambassador's residence in London AFP/Getty President Trump in Britain for state visit: In pictures President Trump and Prime Minister Theresa May share a laugh outside of Downing Street Reuters President Trump in Britain for state visit: In pictures President Trump walks with the Queen while other guests follow as they arrive at a state banquet in Buckingham Palace AFP/Getty President Trump in Britain for state visit: In pictures The red carpet is rolled out in front of Downing Street prior to the arrival of President Trump AP President Trump in Britain for state visit: In pictures President Trump meets with prime minister Theresa May for a business roundtable meeting at St James' Palace in London AP President Trump in Britain for state visit: In pictures President Trump makes a speech at the state banquet in Buckingham Palace Getty President Trump in Britain for state visit: In pictures President Trump and the Queen share a toast at the state banquet in Buckingham Palace Reuters President Trump in Britain for state visit: In pictures Philip May and Melania Trump attend a garden party for families of Downing Street staff on the second day of President Trump's visit Getty President Trump in Britain for state visit: In pictures President Trump meets with the Queen at Buckingham Palace as he arrives on the first day of his three-day state visit PA President Trump in Britain for state visit: In pictures A mixed crowd of supporters and detractors waits outside Buckingham Palace ahead of the arrival of President Trump Reuters President Trump in Britain for state visit: In pictures President Trump and the Queen view an exhibition of items from the Royal Collection that are of historical significance to the US PA President Trump in Britain for state visit: In pictures President Trump inspects an honour guard during a welcome ceremony in the garden of Buckingham Palace AP President Trump in Britain for state visit: In pictures The police block a road leading to Westminster Abbey, where Donald Trump is visiting on the first day of his state visit PA President Trump in Britain for state visit: In pictures President Trump walks with Prince Charles in the gardens of Buckingham Palace AFP/Getty President Trump in Britain for state visit: In pictures The McDonalds restaurant on Whitehall near to Westminster Abbey provides an excuse as to why they are not serving milkshakes today, though many have speculated that it is due to the recent trend of pouring milkshakes over right wing political figures Tom Batchelor / The Independent President Trump in Britain for state visit: In pictures Protesters with anti-Trump signs stand on Whitehall near Downing Street Tom Batchelor / The Independent President Trump in Britain for state visit: In pictures President Trump and First Lady Melania are welcomed by the Queen, Prince Charles and Camilla at Buckingham Palace EPA President Trump in Britain for state visit: In pictures King's Troop Royal Horse Artillery perform a gun salute to honour President Trump's state visit and to mark the 66th anniversary of Queen Elizabeth's coronation at Green Park Getty President Trump in Britain for state visit: In pictures A protester stands on Whitehall near Downing Street holding a sign with an anti-Trump message Tom Batchelor / The Independent President Trump in Britain for state visit: In pictures A supporter welcomes the president's visit on Whitehall near Downing Street Tom Batchelor / The Independent President Trump in Britain for state visit: In pictures A miniature Trump balloon in the protest on Whitehall near Downing Street Tom Batchelor / The Independent President Trump in Britain for state visit: In pictures A protester wears a "No Trumps" card in his hat as he walks nearby to Buckingham Palace Getty President Trump in Britain for state visit: In pictures President Trump walks with Prince Charles and a Buckingham Palace guard as he is welcomed on the first day of his three-day state visit AFP/Getty President Trump in Britain for state visit: In pictures Dedicated pro-Trump and pro-Brexit campaigner Joseph Afrane awaits the president's arrival at Buckingham Palace Tom Batchelor / The Independent President Trump in Britain for state visit: In pictures Crowds watch as Marine One, the helicopter carrying President Trump, arrives at Buckingham Palace PA President Trump in Britain for state visit: In pictures President Trump and First Lady Melania depart from Air Force one at Stansted Airport Reuters President Trump in Britain for state visit: In pictures Supporters of the president - and detractors of London mayor Sadiq Khan - await his arrival at Buckingham Palace Tom Batchelor / The Independent President Trump in Britain for state visit: In pictures President Donald Trump salutes an honour guard as he and first lady Melania Trump arrive at Stansted Airport AP President Trump in Britain for state visit: In pictures President Trump and First Lady Melania arrive at Winfield House, the US ambassadors residence in London AP President Trump in Britain for state visit: In pictures An anti-Trump protester awaits the president's arrival at Buckingham Palace Tom Batchelor / The Independent President Trump in Britain for state visit: In pictures Dedicated pro-Trump and pro-Brexit campaigner Joseph Afrane awaits the president's arrival at Buckingham Palace Tom Batchelor / The Independent President Trump in Britain for state visit: In pictures A protester mowed this message into a field nearby to Stansted Airport Born Eco President Trump in Britain for state visit: In pictures An anti-Trump protester awaits the president's arrival at Buckingham Palace Tom Batchelor / The Independent President Trump in Britain for state visit: In pictures A marching band parades down the Mall in front of Buckingham Palace ahead of the arrival of President Trump Reuters President Trump in Britain for state visit: In pictures Supporters of the president await his arrival at Buckingham Palace Tom Batchelor / The Independent President Trump in Britain for state visit: In pictures President Trump shakes hands with Jeremy Hunt, the foreign secretary Sky News President Trump in Britain for state visit: In pictures A policeman stands on the Mall, one of the roads leading to Buckingham Palace that is closed for the president's visit Reuters President Trump in Britain for state visit: In pictures Air Force One lands carrying U.S. President Donald Trump and First Lady Melania Trump arriving for their state visit to Britain Reuters President Trump in Britain for state visit: In pictures An honour guard await Trump's departure from Air Force One at Stansted Airport Sky News President Trump in Britain for state visit: In pictures President Trump and First Lady Melania depart from Air Force one at Stansted Airport AP

“Tomorrow’s protest against Donald Trump’s state visit is an opportunity to stand in solidarity with those he’s attacked in America, around the world and in our own country – including, just this morning, @SadiqKhan,” he said.

Mr Corbyn has already accused Mr Trump of an “entirely unacceptable interference in our country’s democracy”, after his eve-of-visit endorsement of Boris Johnson and praise for Nigel Farage.

The US president, meanwhile, used a newspaper interview to warn he would have “to know” Mr Corbyn before authorising the sharing of highly sensitive US intelligence with a government led by him.

He also told the Labour leader he would have to “get along with the United States” if he wanted Britain to continue to benefit from US military and intelligence support.

The Metropolitan Police is gearing up for the demonstration, which one survey found could attract anything up to one million people onto the streets of the capital.

Protesters are again hoping to fly the giant Trump baby blimp, which depicts the American leader as an infant wearing a nappy.

A 16ft talking robot of Mr Trump sitting on a gold toilet is also expected to make an appearance.

Supporters of Amnesty International will also unfurl five giant banners facing the US embassy, saying “Resist sexism”, “Resist racism”, “Resist hate”, “Resist cruelty” and “Resist Trump”.

Later, Mr Trump tweeted that the UK was giving him a warm welcome, saying: “Tremendous crowds of well wishers and people that love our Country.

“Haven’t seen any protests yet, but I’m sure the Fake News will be working hard to find them. Great love all around.”

Mr Hunt condemned Labour’s refusal to embrace the visit, saying: “I am afraid this is just virtue signalling by the Labour party.