A Pakistani lawyer says an appellate court has suspended the three-year jail terms handed down to 25 suspects over the lynching of a university student who was falsely accused of blasphemy.

Mohammad Mashal Khan, 23, was killed by a mob on his university campus in Mardan in April 2016 over unfounded rumors that he had shared blasphemous content on social media. Blasphemy against Islam is punishable by death in Pakistan, and the mere allegation can spark mob violence.

Defense lawyer Syed Akhtar said he convinced the court to suspend his clients' sentences and release them on bail until their appeals are heard.

An anti-terrorism court earlier this month sentenced one man to death and handed life sentences to five others in the case. Those sentences are unchanged.