Islamabad, Jan. 24 -- A Pakistani court on Saturday sentenced two human rights lawyers to 17 years in prison each over social media posts the authorities claimed were hostile to the state and its security institutions.

Judge Afzal Majoka announced the verdict a day after Zainab Mazari and her husband Hadi Ali Chattha were arrested in Islamabad, according to court documents.

The couple appeared briefly via video link but boycotted the hearing, prompting the court to conclude the trial and deliver the verdict. Family and friends denounced the ruling.

The court verdict said Mazari had posted multiple tweets in recent years that "portrayed the agenda" of the outlawed Baloch separatist group and Pakistani Taliban.

The case stems from a com...