LAHORE, Pakistan (Reuters) - A Pakistani anti-terrorism court on Saturday sentenced a suspected serial killer to death for the rape and murder of a seven-year-old girl, a prosecutor said.

FILE PHOTO: Members of Civil Society light candles and earthen lamps to condemn the rape and murder of 7-year-old girl Zainab Ansari in Kasur, during a candlelight vigil in Islamabad, Pakistan January 11, 2018. REUTERS/Faisal Mahmood/File Photo

The girl’s murder ignited nationwide protests over allegations of government inaction, and a media campaign led to his arrest after years of him being on the loose.

Police found Zainab Ansari’s body in a garbage dumpster in Kasur district near the eastern city of Lahore in mid-January, four days after she was reported missing.

Residents of the area have said the murder was the 12th such incident in a year. Police investigators said later that they had matched DNA from eight girls’ bodies, including Zainab’s, with the convicted killer, Imran Ali, 24.

“The court handed down death on four counts and life imprisonment to Imran Ali in the rape and murder of the little girl, Zainab,” government prosecutor Ehtisham Qadir Shah told Reuters.

He said Ali will be tried for rest of the cases later.

Hundreds of residents protested after Zainab’s body was found, and two were killed when police fired shots to disperse them.

Police identified Ali as one of Zainab’s neighbors, and CCTV footage on the day she was abducted showed her walking off calmly with a man.

In the same district, Kasur, there have been complaints of a number of missing children since 2015 when authorities uncovered what they said was a paedophile ring linked to a prominent local family.

At least two people have been convicted in connection with that case, in which authorities say hundreds of children in the district were abused.

Nearly 10 cases of child abuse a day are reported in Pakistan, according to Sahil, an organization that works on child protection.

Zainab’s case has triggered a debate in Pakistan over whether to teach children how to guard against sex abuse, which otherwise is a taboo subject in the Muslim majority nation.