Pakistan's prime minister says the country will set up special trial courts under the supervision of military officers to prosecute terrorism cases in the wake of the Taliban school massacre.

Nawaz Sharif spoke early Thursday after a marathon meeting with all political parties and the military leadership to hash out new counter-terrorism policies.

Sharif said the courts will function for the next two years. He gave few details about the courts, but said changes to current laws would need to be made.

In the wake of the Pakistani Taliban attack on a school on Dec. 16 that killed 149 people, the government has scrambled to show that it is getting tough on militancy.

The military has stepped up operations in the tribal areas, and the government reinstated the death penalty.