London: President Donald Trump has hailed the "eternal friendship" between the UK and the US as he joined a state banquet at Buckingham Palace here.
The Queen said the countries were celebrating an alliance which had ensured the "safety and prosperity of both our peoples for decades".
The president is in the UK for a three-day state visit, which includes the 75th anniversary of the D-Day landings.
Earlier in the day, Trump criticised the mayor of London.
He tweeted that Sadiq Khan - who had said the UK should "not roll out the red carpet" for Trump - was a "stone cold loser".
But in his speech at the banquet, Trump praised the courage of the British people during World War Two and called the Queen a "great, great woman", the BBC reported.
"In that dark hour, the people of this nation showed the world what it means to be British," he said, adding that their bravery ensured that the destiny of the country "remained in your own hands".
Trump ended his speech with a toast to "the eternal friendship of our people, the vitality of our nations and to the long-cherished and truly remarkable reign of Her Majesty the Queen".
The Queen praised the two countries' role in creating an assembly of international institutions that would ensure "the horrors of conflict would never be repeated".
On Twitter before the banquet, Trump praised the welcome from the Royal Family as "fantastic" and said the relationship with the UK is "very strong".
He also said a post-Brexit trade deal could happen once the UK removed the "shackles", adding: "Already starting to talk!"
Large-scale protests are planned in several UK cities during the three-day visit, including in London, where a "national demonstration" will start at Trafalgar Square at 11:00 a.m. on Tuesday.
Labour leader Jeremy Corbyn - who boycotted the state dinner - is due to attend and speak at the London demonstration, a party spokesman has confirmed.
Earlier, Corbyn tweeted: "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, Sadiq Khan."
Trump's tweet about Khan accused him of doing a "terrible job" as mayor, adding: "(He) has been foolishly 'nasty' to the visiting president of the United States, by far the most important ally of the United Kingdom. He is a stone-cold loser who should focus on crime in London, not me."
© Copyright NewsKarnataka 2019 . All Rights Reserved.