“Kill the Mayor of London and you will be rid of one Muslim terrorist,” one post said. “Deport all Muslims and make London white again,” said another.

Khan told the audience he wasn’t asking for sympathy or wanting to be portrayed as a victim. But he asked: “What happens when young boys and girls from minority backgrounds see this kind of thing on their timelines or experience it themselves?”