Pakistani officials say four Islamic extremists allegedly involved in a 2009 attack on the visiting Sri Lankan cricket team have been killed in a shootout with police.

The officials did not identify the militants or their armed group. The attack on the cricket team killed six police and two bystanders, and wounded six cricket players.

The Pakistani Taliban and Lashkar-e-Jhangvi, an affiliated extremist group, claimed the attack, which was carried out by 10 gunmen.

A counterterrorism official says the shootout erupted late Saturday on the edge of Lahore when other gunmen tried to break the militants out of police custody. Another senior official confirmed the account. Both spoke on condition of anonymity, fearing retribution.