https://www.bqprime.com/world/imran-khan-says-undeclared-martial-law-in-pakistan-files-plea-in-supreme-court?utm_source=telegram&utm_medium=referral&utm_campaign=socialshare
Under Article 245 of Pakistan's Constitution, the army can be called in to aid the civil administration to defend the country.