KARACHI, Pakistan — Pakistan’s paramilitary force says it has killed eight alleged “terrorists” in an overnight shootout in Karachi.

A statement issued Sunday says that paramilitary Rangers along with counterterrorism police raided a house, triggering an hours-long shootout. It says five “terrorists” were killed inside the hideout while three others were wounded and later died on the way to a hospital.

The statement says a counterterrorism officer and two paramilitary troops were wounded.

It says two of the gunmen who were killed were identified as members of the Ansar al-Shariya militant group, and that weapons and explosives were seized from the hideout.