Pakistan's parliament has voted to give army chief Field Marshal Asim Munir new powers and lifetime immunity from arrest and prosecution, a move that critics say paves the way towards autocracy.
The 27th constitutional amendment, which was signed into law on Thursday, will also make significant changes to the way the country's top courts operate.
Those defending the changes say they provide clarity and administrative structure to the armed forces, while helping to ease a backlog in the courts.
Pakistan's military has long played a prominent role in the nuclear-armed country's politics - sometimes seizing power in coups, and, on other occasions, pulling levers behind the scenes.
Throughout its history, Pakistan has oscillated from more civilian autonomy to overt control under military leaders like General Pervez Musharraf and General Zia-ul-Haq. Analysts refer to the balance between civilian and military as hybrid rule.












