ISLAMABAD, Pakistan — Hundreds of protesters, enraged over the murder of a young girl, clashed with the police in eastern Pakistan on Wednesday after surrounding the office of a senior district official and demanding justice. At least two people were killed when the police opened fire on the protesters in the city of Kasur, officials said.

Police officials said they had opened fire to safeguard public property after protesters tried to storm the office.

Protesters said they were outraged over the police’s inability to stop a spree of child killings in the district. The police say at least 12 children have been killed within a radius of about a mile in the past two years in Kasur.

The violence came a day after the body of a girl, Zainab Amin, whose father said she was around 7, was found on a pile of garbage near a busy road in the district of Kasur. The city is about 30 miles from Lahore, the capital of Punjab Province.