The Pakistani army issued a statement on Tuesday expressing "pain and sadness" over the death sentence imposed on former President Pervez Musharraf.

The statement said, "The decision issued by a special court regarding retired General Pervez Musharraf was greeted with pain and sadness among the ranks and personnel of the Pakistani armed forces."

He said that Pervez, "the former army chief and chairman of the Joint Chiefs of Staff and President of Pakistan who served the country for more than 40 years and fought wars for the defense of the country cannot be a traitor," adding that "legal measures have been ignored."

6116439417001 b18d3762-7b0f-4ec4-90a1-bd1ea116730d 147d4c9a-cc43-4f50-9870-6d98e206fc59
video

And a Pakistani court ruled on Tuesday that Musharraf was executed for alleged treason and undermining the constitution, in a first precedent in the country's history.

Local press sources indicated that the merits of the ruling will be issued within 48 hours.

"Pervez Musharraf was convicted in accordance with Article VI for violating the constitution of Pakistan," said Salman Nadim, the government's legal affairs official.

Al-Jazeera's most prominent correspondent in Pakistan said that Musharraf was convicted of four cases, namely the coup, the obstruction of the constitution, the declaration of a state of emergency, and the dismissal of Chief Justice Iftikhar Chaudhry.

6116466915001 f4b347dc-89f9-42af-a043-eeb46eed8493 866b0943-96b9-4a3a-8f4c-e92ac852dfc1
video

Musharraf was tried on charges of high treason for imposing a state of emergency in 2007 and suspending the constitution.

Musharraf, who seized power in a 1999 coup and later took over as president, lives outside Pakistan, where he left his country in March 2016 to receive medical treatment in Dubai, in the United Arab Emirates, after the government removed his name from the travel ban.

"The name of Musharraf was included in the list at the request of the Supreme Court, and since the court returned the matter to the government, the latter does not see the objection to his leaving for treatment abroad," said Pakistani Interior Minister Chaudhry Nisar.

Musharraf led a military coup on October 12, 1999 against the elected government of Nawaz Sharif, and Musharraf was forced to resign in August 2008 under pressure from the Pakistan People's Party and the Pakistan Muslim League.