A man police mistakenly identified as a suspect in Sunday’s Quebec City mosque shooting said he ran into the building to save lives, not take them.

After police cleared him of suspicion, Mohamed Belkhadir, 29, an engineering student, told La Presse that he had been at the Islamic Cultural Centre earlier for evening prayers and ran back after he heard gunshots.

“I went inside to try to give first aid to my friend on the ground, and I saw someone with a weapon,” Belkhadir said in French. “I didn’t know he was a policeman. I thought it was someone who came back to shoot. So I fled outside, on the parking side.” That’s where police, assuming he was a suspect, grabbed him.

Belkhadir added that he was the one who called police to the scene. He said he bears no ill will toward the authorities for the error.

“I understand,” he said. “I respect that they caught me. They saw me flee, they thought I was suspicious, that’s normal. For them, someone who flees is a suspect.”

Those familiar with Belkhadir, a Canadian of Moroccan origin, showered him with praise.

“This man is a gentleman and he is so kind and everything, so we didn’t believe it,” Ali Assafiri, another member of the mosque, told Canadian outlet CBC.

Police initially released the names of Belkhadir and Alexandre Bissonnette, a French-Canadian university student. Hours later, they cleared Belkhadir and said Bissonnette was the sole suspect.

CBC and other news outlets removed both names from their coverage when police announced that one of them was merely a witness. Many reports had already focused on Belkhadir roots in Morocco, a largely Muslim country.

Suspect in Quebec mosque terror attack was of Moroccan origin, reports show https://t.co/oRzxGHEXDm pic.twitter.com/aEsEtccMvi — Fox News (@FoxNews) January 30, 2017

“[T]his is exactly why no responsible news organization ... should rush to depict the shooter as Muslim and of Moroccan descent when so little is known about what happened,” The Intercept wrote. “All day long, people around the world cited these reports to justify Trump’s [Muslim] ban as well as their own ugly views of Muslims.”

One of them was Pamela Gellar, co-founder of the American Freedom Defense Initiative, which the Southern Poverty Law Center defines as a hate group. She boasted on her Facebook page that she was right in assuming the shooters were Muslim.

“As I predicted last night, the shooters in the Quebec mosque attack are Muslim as is generally the case in these circumstances,” Gellar wrote. “The jihadis were shouting ‘Allahu akbar’ as they gunned down men worshiping at a Quebec mosque.”

Gellar later posted a curt acknowledgment that one of the suspects turned out to be a witness, but failed to correct any posts about the shooting on her website.

Others, meanwhile, blasted Twitter with reminders that Belkhadir is a hero.

The man mistaken for a suspect in the Quebec City shooting should get medal for generosity of spirit. @VinceLarouche https://t.co/oDYhoLombc — Les Perreaux (@perreaux) January 30, 2017

I hope stories on what Mohamed Belkhadir actually did during QC mosque attack crowd out those calling him a suspect https://t.co/10mHf2QmG1 — kady o'malley (@kady) January 30, 2017

Thank you #MohamedBelkhadir a hero to 🇨🇦 I hope in the future that people stop & wait b4 they judge #hero not #terrorist #quebecshooting — ✨misschandlerbing ✨ (@avoideroflife) January 30, 2017

Can we please treat Mohamed Belkhadir like the hero he is? — Alexis Hunt (@alercah) January 30, 2017

I hope Mohamed Belkhadir gets recognition for the hero he is. <3 #QuebecMosqueAttack — koko (@KautharElmo) January 30, 2017

I want to hear Mohamed Belkhadir's story and I want to see retractions everywhere. He is a hero. — Ashley (@ashcech) January 30, 2017

Mohamed Belkhadir (misidentified suspect) phoned 911, gave coat to wounded man, understands why cops stopped him. Seems like upstanding guy. https://t.co/XemGZc851n — Melissa Royle (@melissaroyle) January 30, 2017