Pakistan city shuts down, mourns 61 killed at police academy

People attend a candlelight vigil for the victims of an overnight attack on the Quetta Police Training Academy, in Lahore, Pakistan, Tuesday, Oct. 25, 2016. Militants wearing suicide vests stormed a Pakistani police academy in the southwestern city of Quetta overnight, killing dozens of people, mostly police cadets and recruits, and waging a ferocious gun battle with troops that lasted into early hours Tuesday. (AP Photo/K.M. Chaudary) (The Associated Press)

People wait to receive the bodies of their family members who died in an attack on the Police Training Academy, in Quetta, Pakistan, Tuesday, Oct. 25, 2016. Militants wearing suicide vests stormed a Pakistani police academy in the southwestern city of Quetta overnight, killing dozens of people, mostly police cadets and recruits, and waging a ferocious gun battle with troops that lasted into early hours Tuesday. (AP Photo/Arshad Butt) (The Associated Press)

Pakistan army soldiers carry a coffin of their colleague who was killed in an overnight attack on the Quetta Police Training Academy, for burial in Pakistan's tribal area of Shabqadar, Tuesday, Oct. 25, 2016. Militants wearing suicide vests stormed a Pakistani police academy in the southwestern city of Quetta overnight, killing dozens of people, mostly police cadets and recruits, and waging a ferocious gun battle with troops that lasted into early hours Tuesday. (AP Photo/Zia Muhammad) (The Associated Press)

Pakistan's city of Quetta is in shutdown following a militant rampage at a police academy this week and funerals are underway as families bury some of the 61 people killed in the attack.

The brazen assault, in which police cadets jumped from windows and rooftops, fleeing for their lives, and troops battled the attackers for four hours, was one of the deadliest attacks on Pakistan's security forces in recent years.

Most of the victims were young cadets and police trainees, in their early 20s. In conflicting claims, an Islamic State affiliate and a Taliban splinter group both said they were behind the attack.

Quetta trade leader, Abdur Rahim Kakar, says all businesses and offices were closed in the city on Wednesday.

Police spokesman Shahzada Farhat says an investigation is ongoing.