Pakistan's Supreme Court has ruled to allow military trials for terror suspects — the latest in the government's campaign against terrorism following last year's Taliban attack on a school that killed nearly 150 people, almost all of them children.

Zafrullah Khan, the government's legal adviser, said Wednesday's ruling gives the green light for army courts to try civilians suspected in terrorism cases.

The ruling followed several petitions that challenged early year's parliament decision to allow military courts to prosecute terror suspects over the next two years.

Pakistan has been fighting Islamic militancy for over a decade but took extraordinary measures after the Peshawar school attack.

After the attack, authorities also lifted a moratorium on executions, in place since 2008. While some militants have been executed, other convicts have as well.