London Mayor Sadiq Khan compared U.S. President Donald Trump’s rhetoric to language used by the Islamic State Sunday as he reiterated his call to cancel the American president’s planned state visit.

Khan, a Muslim, brought up comments from May 2016 when Trump said he would make an exception for Khan if he ended up winning the presidential election and imposed a ban on foreign Muslims entering the country.

“My view was firstly ‘I’m not exceptional’ and secondly ‘Think about what you are saying.’ Because what you are saying is not dissimilar to what Daesh or so-called IS says,” Khan said at the Labour party conference in Brighton, according to The Guardian. “They say that there is a clash of civilizations, it is not possible to be a Muslim and a westerner, and the west hates us. And you are inadvertently playing their game, you are helping them.”

Trump mocked Khan on Twitter in June for saying there is “no reason to be alarmed” after a deadly terror attack in London. Khan‘s office pointed out that he never used those words, which Trump regarded to be a “pathetic excuse.”

Khan subsequently urged the government to withdraw an invitation to host Trump for a state visit, a call he stands by almost four months later.

“I think at a time when the president of the United States is doing and saying so many things that we disagree with, the idea of just rolling out the red carpet and having a state visit is wrong,” Khan said.

The mayor further offered to “educate people who are ignorant” when it comes to Islam.

“I’m a westerner, but also a very proud Muslim,” Khan said. “There are some people who want to divide our communities – I’m not going to let them.”

Follow Jacob on Twitter

Content created by The Daily Caller News Foundation is available without charge to any eligible news publisher that can provide a large audience. For licensing opportunities of our original content, please contact licensing@dailycallernewsfoundation.org.