London Mayor Sadiq Khan is finally getting a strong message from Queen Elizabeth II on his openly hostile views of President Trump.

The Muslim mayor, who has been a vocal critic of the president, was noticeably left off of the invitation list for the banquet planned in honor of Trump’s state visit to the United Kingdom next month.

“The mayor has not been invited to the state banquet,” Khan’s spokesman, Jonathan Weisgard, told Newsweek.

The Queen has apparently opted not to invite the London Mayor to Trump’s state banquet at Buckingham Palace as he makes a three-day state visit in June to mark the 75th anniversary of D-Day. The ceremonial state visit will include a formal welcome at Horse Guard’s Parade as well as lunch and dinner at Buckingham Palace.

Khan and Trump have had a contentious history with angry comments exchanged on topics from immigration to terror attacks. The mayor blasted Trump in June 2017 after the president called him out for the response to a recent Islamic terror attack.

Pathetic excuse by London Mayor Sadiq Khan who had to think fast on his “no reason to be alarmed” statement. MSM is working hard to sell it! — Donald J. Trump (@realDonaldTrump) June 5, 2017

Khan, a member of the U.K.’s opposition Labour Party, was furious and demanded the government cancel Trump’s stop as he made an official visit to the U.K. in July 2018, meeting with and Queen Elizabeth II at Windsor Castle as well as British Prime Minister Theresa May. Thousands took to the streets to protest his visit as Khan infamously approved the so-called “Trump Baby Blimp” to be flown by the crowds.

CNN brutally mocked for ‘reporting’ at scene of ‘giant Trump blimp’ that turned out to be not-so-giant after all https://t.co/OEkUqoJRdo pic.twitter.com/w1kDIw09Wl — Conservative News (@BIZPACReview) July 13, 2018

“You have a mayor who has done a terrible job in London. He has done a terrible job,” Trump told British tabloid, The Sun, when he was in London at the time.

London’s first elected Muslim mayor blasted the current decision to roll out the red carpet for the U.S. president, saying in a recent interview that Trump was not “in the same class” as his predecessors.

“Of course we should have a close relationship with the president of the United States, but we shouldn’t be rolling out the red carpet; we shouldn’t have a state banquet,” Khan told British radio station LBC.

(Video: LBC)

“History tells us only two presidents have had a state visit,” he added.

“I think President Trump is certainly not in the same class as those two,” Khan continued, referring to former President George W. Bush who visited in 2003 and the visit by former President Barack Obama in 2011.

He also claimed that Trump’s treatment of women is “almost a green light for others to behave badly.”

“We should say to President Trump when he’s here – listen, we may have a special relationship, we may agree on most things but I think you’re wrong on A, B, C, D, E,” he added. “The Prime Minister has an opportunity to meet President Trump and she can use the opportunity to call him out on some of these things.”

Khan’s absence from the Queen’s guest list was a celebrated bit of news on social media where many feel the disrespectful mayor is finally getting put in his place.

Queen Elizabeth is awesome London Mayor & dismal failure #SadiqKhan has been talking smack about disrespecting #Trump during his state visit The Queen handled that by crossing Khan’s name off the guest list for the state dinner Nicely Played https://t.co/jwJGAR3IlS — Jim Hanson (@Uncle_Jimbo) May 11, 2019

Ah bless, he’s trying to sound important after being completely snubbed by the Queen. He needs to understand no one gives a damn about him or his virtue signalling, odious little man https://t.co/JRfnum9yUh — whowantstoliveforever (@whowantstolive3) May 11, 2019

Thank God!!! — GIANT918 (@GIANT918) May 5, 2019

Hooray for the Queen! — dnhart (@UFOtext) May 6, 2019

This man ruined London.. good on the Queen — Laura (@duchess477) May 11, 2019

Good for the Queen. Glad he was dissed! He deserved it and more!!! — Katharine Russ (@writerRuss) May 11, 2019