KABUL, Afghanistan – Two suicide bombers targeted worshippers on a key Muslim festival in northern Afghanistan, killing seven, including two local police commanders, officials said Sunday.

The bombers struck as Muslims were leaving a mosque on the outskirts of Old Baghlan City after prayers at the start of the Eid al-Adha, the Feast of the Sacrifice.

At least 18 other people were taken to hospitals with injuries from the attack in Hassin Tal, about 6 miles east of the city.

One bomber blew himself up and the second was captured before he could set off his explosives, said Lal Mohammad Ahmadzai, spokesman for the regional police commander in the north.

The bombings raise questions about Afghan forces’ ability to tackle the insurgency head-on without their NATO partners.

NATO is currently working to hand over full security responsibilities to Afghan forces before the end of 2014, when the coalition plans to withdraw its combat troops.

NATO officials say attacks such as Sunday’s bombing do little more than grab headlines and have little impact on the balance of strength between the government and the insurgents.

Kamen Khan, the police chief in Old Baghlan City, said one of the two dead police commanders was a well-known local leader named Abdul who, like many Afghans, goes only by one name.

There was no immediate claim of responsibility, but the Taliban routinely targets Afghan officials and security forces as well as international forces.