Terrorists disguised in burqas stormed the hostel of Peshawar's Agricultural Training Institute Friday morning and killed at least nine people and wounded 37 others.
Police and army troops summoned to the scene killed all of the attackers at the Agriculture Training Institute in the northwestern city of Peshawar about two hours into the attack, the military's press wing said.
The university was closed due to Eid Milad-un-Nabi (PBUH) holiday.
They stormed the building by firing automatic weapons, creating panic, officials said.
Taliban claimed the responsibility, saying in a message from spokesman Mohammad Khorasani that they had targeted a safe house of the military's Inter-Services Intelligence agency.More news: Robinho sentenced to nine years in prison for sexual assault
More news: North Koreans critical of U.S. terror list decision
More news: Trump says USA will declare NKorea a state sponsor of terror
One injured student, Ahteshan ul-Haq, said the university hostel normally houses almost 400 students, but at the time of the attack most students were gone for a holiday weekend and only 120 students remained. Aerial surveillance of the operation was also carried out whereas armoured vehicles of security forces were also present in the Directorate.
Wali and another student rushed to his aid, hiding from the gunmen for nearly an hour before they were rescued by security forces. Bullets holes in building walls, broken glass scattered and blood stains could be seen on TV footage.
The injured include a police sub-inspector and a constable.
"All of them were wearing suicide vests but they were killed before they could blow themselves up", said Salahuddin Khan Mehsud, police chief of Khyber Pakhtunkhwa province. "I got up and within seconds everybody was running and shouting 'the Taliban have attacked, '" said a student.
"We were sleeping when we heard gunshots". He added that the students who board at the premises are undertaking their diplomas in Agriculture Sciences and Veterinary Sciences.