ISLAMABAD, Pakistan — Wielding guns and explosives, three militants killed at least 59 people and wounded 120 at a police training college in southwestern Pakistan late Monday, before security forces, who mobilized outside, seized control of the campus, government officials said.

Most of the victims were cadets. The college housed 700 cadets and training staff members, most of whom were rescued, according to local news media reports.

“Within four hours, we have cleared the compound,” said Mir Sarfraz Bugti, a minister of Baluchistan Province, who added that two attackers had detonated suicide vests and the third had been shot.