Pakistan observed a day of national mourning on Thursday for the 21 people killed when heavily-armed gunmen stormed a university in the troubled northwest, exposing the failings in a national crackdown on extremism.

Armed police, some perched on the roofs of buildings, were still deployed Thursday morning at the Bacha Khan university campus in Charsadda, where students were targeted with grenades and automatic weapons, an AFP reporter said.

Security forces remained on alert, with police foiling a bomb attack at a crowded bus station in nearby Peshawar Thursday morning.