Musharraf was first booked for treason in December 2013 and was indicted on March 31, 2014, The prosecution had tabled the entire evidence before the special court in September the same year.
The Pakistan Army received their former leader’s sentence with a “lot of pain and anguish,” saying that Musharraf could never be a traitor.
The Army issued a statement claiming that the decision has been "received with a lot of pain and anguish by rank and file of the Pakistan Armed forces."
"An ex-Army chief, chairman joint chief of staff committee and President of Pakistan, who served the country for over 40 years, fought wars for the defence of the country can surely never be a traitor," the Army said.
The 76-year-old Musharraf seized power in a coup against democratic Prime Minister Nawaz Sharif in 1999 and later ruled as the 10th President of Pakistan.
Musharraf had resigned in 2008 over the threat of impeachment proceedings and had gone into exile in Dubai, however, he returned in 2013 to contest the polls in Pakistan but was barred from leaving the country.
"This case was taken up only due to personal vendetta by some people against me," Musharraf said in the video statement.
He was later permitted to move to Dubai to seek medical assistance in 2016, where he remains till date to seek treatment for amyloidosis and has refused to appear before the court, despite multiple orders.
His political party had earlier said it would challenge the verdict.
This is the first time in Pakistan's history that a former leader of the armed forces has been sentenced to death.