A Haripur Anti-Terrorism Court announced its verdict in the Mashal Khan case on Wednesday, handing one person a death sentence, five life imprisonment, 25 others three years in jail, and acquitting 26 others.
Mashal Khan was dragged out of his university accommodation in north-west Pakistan in April 2017 by a crowd of hundreds of his fellow students.
Mashal was badly beaten before being shot and his body.
The trial took place inside Haripur Central Jail for safety reasons. Security was tight for the verdict, with hundreds of police deployed and roads closed around the prison.