Pakistani Taliban gunmen disguised in burqas have killed at least 13 people in an attack on a university campus in Peshawar, a local police chief has told Al Jazeera.

The army and local police summoned to the scene killed all attackers about two hours into the shooting, the military's press wing said.

Tehreek-e-Taliban Pakistan, the Pakistani Taliban, has claimed responsibility for the attack.

We’ll tell you what’s true. You can form your own view. From 15p €0.18 $0.18 $0.27 a day, more exclusives, analysis and extras.

Mohammad Khorasani, a spokesman for the militant organisation, said they had targeted a safe house of the military's Inter-Services Intelligence agency.

The attackers arrived at the Agricultural Training Institute on Friday morning, before shooting and wounding a guard and entering the campus, Peshawar police chief Tahir Khan said.

A wounded student, Ahteshan ul-Haq, told Reuters the university hostel usually houses nearly 400 students, but most had gone home for a long holiday weekend and only about 120 students remained.

"We were sleeping when we heard gunshots. I got up and within seconds everybody was running and shouting 'the Taliban have attacked'," he said.

Shehzad Akbar, medical director of Hayatabad Medical Complex, said six people died of their wounds and 18 were being treated. Another three people died at Khyber Teaching Hospital and 17 wounded were there, director Nekdad Afridi said.

Shape Created with Sketch. Police clash with protesters in Pakistan Show all 11 left Created with Sketch. right Created with Sketch. Shape Created with Sketch. Police clash with protesters in Pakistan 1/11 A Pakistani police officer aims his gun towards the protesters AP 2/11 A protester throws a tear gas shell back towards police AFP/Getty Images 3/11 Pakistani riot police face off with protesters AFP/Getty Images 4/11 Pakistani police officers carry an injured protester AP 5/11 A policeman walks with armoured personnel carriers REUTERS 6/11 Protesters burn Police vehicles EPA 7/11 A protester gestures after blocking the main road leading to the airport REUTERS 8/11 Pakistani security officials clash with supporters EPA 9/11 Supporters of religious groups burn tires at a rally to express solidarity with protesters AP 10/11 Protesers burn a police vehicle EPA 11/11 Police fire tear gas REUTERS 1/11 A Pakistani police officer aims his gun towards the protesters AP 2/11 A protester throws a tear gas shell back towards police AFP/Getty Images 3/11 Pakistani riot police face off with protesters AFP/Getty Images 4/11 Pakistani police officers carry an injured protester AP 5/11 A policeman walks with armoured personnel carriers REUTERS 6/11 Protesters burn Police vehicles EPA 7/11 A protester gestures after blocking the main road leading to the airport REUTERS 8/11 Pakistani security officials clash with supporters EPA 9/11 Supporters of religious groups burn tires at a rally to express solidarity with protesters AP 10/11 Protesers burn a police vehicle EPA 11/11 Police fire tear gas REUTERS

In December 2014, Pakistani Taliban gunmen killed 134 children at Peshawar's Army Public School, one of the single deadliest attacks in the country's history.

The Pakistani Taliban are fighting to topple the government and install a strict interpretation of Islamic law. They are loosely allied with the Afghan Taliban insurgents who ruled most of Afghanistan until they were overthrown by U.S.-backed military action in 2001.

Additional reporting by Reuters.

We’ll tell you what’s true. You can form your own view.

At The Independent, no one tells us what to write. That’s why, in an era of political lies and Brexit bias, more readers are turning to an independent source. Subscribe from just 15p a day for extra exclusives, events and ebooks – all with no ads.

Subscribe now