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