Under which amendment military courts were formed in Pakistan?

Under which amendment military courts were formed in Pakistan?

پاکستان میں فوجی عدالتیں کس ترمیم کے تحت قائم ہوئیں؟
Explanation

In 2015, National Assembly passed the 21st Amendment and created military courts for the period of 2 years.

ND-21-5-2023