Afghan soldiers stormed the Pul-i-Charki prison near Kabul Friday, ending a day-long crisis that began with an attempted escape.

At least four prisoners and four guards were killed, and several others wounded.

The head of the prison said four inmates linked to the al-Qaida terrorist network, one Iraqi and three Pakistanis, overpowered and killed a prison guard and seized his weapon.  They killed three other guards and, in the ensuing battle, two of the would-be escapees were killed.

The other two were eventually overpowered and killed when army troops stormed the prison about nightfall Friday.

The prison holds common criminals as well as terror suspects and is separate from US-run facilities that hold captured Taliban and al-Qaida fighters.

Some information for this report provided by AP, AFP and Reuters.