Gunmen opened fire at a university in Peshawar, a northern city in Pakistan, wounding several people.
The army was called in to clear the gunmen from the University of Agriculture on Friday.
There were at least three attackers, all of whom have now been killed, according to the army.
Salahuddin Mehsud, inspector general of Khyber Pakhtunkhwa police, told Al Jazeera that the gunmen entered the premises by auto-rickshaw wearing full face veils.
At least five people were wounded.
Several people reportedly jumped from buildings to save their lives, sustaining fractures.
Friday is a public holiday in Pakistan, meaning the university would have been less busy than on a working day.
All of the roads to the university were blocked as the operation to clear the fighters took place, and emergency services were on the scene.