LONDON — President Donald Trump came out swinging in a British tabloid interview Thursday, calling the mayor of London "soft on terrorism" and saying he felt unwelcome in the English capital.

In an interview with the British newspaper The Sun, Trump injected himself into a British political landscape still feeling the aftershocks of a cabinet shakeup fueled by a growing rift over Brexit. He said Boris Johnson, the former foreign minister who resigned this week in a split with Prime Minister Theresa May, "would make a great prime minister."

The interview was so explosive in the United Kingdom that White House press secretary Sarah Huckabee Sanders issued a late-night statement, clarifying that "the president likes and respects Prime Minister May very much" and "is a really terrific person."

Trump made clear he's firmly on the side of Johnson and others who want the United Kingdom to leave the European Union. He said he warned British Prime Minister Theresa May not to work toward a so-called "soft Brexit" that would maintain political and economic ties with the continent.

“I would have done it much differently. I actually told Theresa May how to do it but she didn’t agree, she didn’t listen to me," he said.

And he even warned that May's proposed compromise — in which the U.K. would maintain open borders with Europe while seeking more political autonomy — would kill the possibility of a U.S.-U.K. trade deal.

“If they do a deal like that, we would be dealing with the European Union instead of dealing with the UK, so it will probably kill the deal," he said.

“I used to love London as a city. I haven’t been there in a long time. But when they make you feel unwelcome, why would I stay there?" he said "I guess when they put out blimps to make me feel unwelcome, no reason for me to go to London."