President Trump on Thursday blasted London Mayor Sadiq Khan as soft on terrorism and regretted that he’s been made to feel “unwelcome” in the British capital.

“Take a look at the terrorism that is taking place. Look at what is going on in London. I think he (Khan) has done a very bad job on terrorism,” Trump told The Sun newspaper.

“I think he has done a bad job on crime, if you look, all of the horrible things going on there, with all of the crime that is being brought in.”

London endured four terrorist attacks in 2017.

The incidents included car-on-pedestrian attacks on London Bridge, Westminster Bridge and near a mosque and the bombing of a subway station.

Trump is skipping London on his tour of the United Kingdom, after hundreds of thousands of Brits vowed to swarm streets of the capital to protest him.

“I used to love London as a city. I haven’t been there in a long time,” Trump said. “But when they make you feel unwelcome, why would I stay there?”

The president revealed that he knows about the mocking 20-foot “Trump Baby” blimp that flew over Parliament Square on Thursday.

“I guess when they put out blimps to make me feel unwelcome, no reason for me to go to London,” Trump said.

In one tweet Thursday, Khan didn’t mention Trump by name — but said Londoners have a moral duty to protest when shared US-UK values are under attack.

“I cherish the special relationship with the US and the many Americans who contribute to our city,” posted Khan, London’s first Muslim mayor.

“We expect the highest standards of each other. The special relationship means we speak out when the values we both hold dear seem under threat.”