Radical cleric Sufi Muhammad's deputy and another associate were killed in their bid to escape in the country's restive northwest, the military said on Saturday.
Maulana Muhammad Alam, the deputy of Taliban-backed fundamentalist group Tehreek-e-Nifaz Shariat Muhammadi (TNSM), and his spokesman Ameer Izzat Khan were killed in crossfire with militants, the army said.
Militants in a bid to free the two had attacked a military convoy transporting them to the North West Frontier Province (NWFP) capital Peshawar, the Inter-Services Public Relations (ISPR) said.
A non-commissioned officer of the Pakistan Army was killed and five other soldiers were injured in the gun battle that erupted following the militant attack, the military said.
Alam and Amir were among the five men who had been arrested from the NWFP's Lower Dir district on Thursday.
Initial reports had said TNSM chief Sufi Muhammad was among those who had been arrested but the army now denies he is in its custody. The whereabouts of the cleric could not be independently confirmed.
Sufi Muhammad had in February brokered a controversial peace deal with the NWFP government under which the Taliban were to lay down their arms in return for the imposition of Sharia laws in Swat and six other districts of the province that are collectively known as the Malakand division.
The Taliban, however, reneged on the peace deal and instead moved south from their Swat headquarters and occupied Buner, which is just 100 km Islamabad.
This has prompted the security forces to go into action against the Taliban April 26. The operations had begun in Lower Dir, Sufi Mohammad's home district, and later spread to Buner and Swat.
The military says a little over 1,300 Taliban have so far been killed in the operations, which have led to a huge civilian exodus with some 3 million people fleeing the fighting in the three districts.