LAHORE - Short in stature and soft-spoken, Pakistani paramedic Muhammad Ejaz was probably destined for a life of relative anonymity - until he began killing gay men he met online.

Ejaz, 28, the father of two kids, arrested last week, confessed to three brutal murders, saying he wanted to send a message about the "evils" of homosexuality, though police insist he had sex with his victims first.

The killings have sent shockwaves through the underground gay community in the eastern city of Lahore, which fears Ejaz could be lionised as a hero in a conservative Islamic society where homosexuality is stigmatised and sodomy is punishable by up to 10 years in jail.

In an interview with AFP from his prison cell Sunday night, Ejaz expressed remorse over the killings, but said he was acting to stop the wrongdoing.

“My way was wrong. It is tragic that the families have lost their relatives, but they were spreading evil the in society and I had to stop it,” said Ejaz who appeared in a court on Monday. “I wanted to warn them to stay away from this evil,” he said.

The killings happened in March and April, according to Police Officer Asad Sarfraz who headed the investigation. The victims were a middle-aged retired army major and two other men, both in their twenties.

All the three were found with their necks broken and had been sedated.

After examining their mobile phone call logs, police were able to identify the number of Ejaz and found another former lover whom they used to lure him to a meeting a week ago where they arrested him.

Ejaz, who married in 2011 and has two infant children, said his family knew nothing of what he had done and insisted that he was not a gay himself.

“I started going on Manjam two months ago using my mobile phone and found that gays are everywhere in Lahore,” he said, referring to a popular social networking website.

“They are spreading evil and transmitting diseases. They cannot control themselves,” he added.

Ejaz said he was a victim of sexual abuse by an older boy when he was around 10 and led a deeply unhappy childhood. “I have hated them over what happened to me,” he said.

A court in Lahore remanded Ejaz into custody at a hearing on Monday.

The case has shown an unwelcome spotlight on closeted gay community often afraid of coming out to their families. In the absence of gay venues they rely on Internet and mobile apps to arrange clandestine dates.

Manjam, the gay social networking and dating site which Ejaz is said to have used to meet his victims, has closed to new members in Pakistan.

“To increase your privacy and security, we have decided to close Manjam to non-members in Pakistan until further notice,” it said in a statement.

With sex outside marriage both illegal and deeply frowned upon, same-sex partners are generally able to avoid the same level of scrutiny which unmarried heterosexual couples come under.

A member of the gay community said he was worried Ejaz could be hailed as a hero by some conservative Muslims. “The problem is that paedophilia and homosexuality are often conflated, so people think eradicating homosexuality means eradicating child abuse,” he said.

Ejaz had been a sexually active member of the gay community for several months, the man claimed.

“It seems he was motivated by self-hatred and internalised homophobia,” he said. “The worry is will it inspire others to do the same?”