Former Pakistan Prime Minister Imran Khan will be tried in a military court for his alleged role in riots that occurred in the wake of his arrest earlier this month, the country's interior minister said.

Interior Minister Rana Sanaullah said in a TV interview with Dawn News on Tuesday that Khan personally planned violence targeting military installations, adding he believes the case will be heard in a military court.

The violent protests broke out on May 9 after Khan's arrest at the Islamabad High Court, where he went to attend a hearing in separate graft cases.

Former Pakistani Prime Minister Imran Khan (back) leaves after appearing in the Supreme Court in Islamabad, Pakistan, on May 11, 2023. (Anadolu Agency/Getty/Kyodo)

Khan's supporters protested his arrest and attacked military installations in several cities.

Following the unrest, the Pakistan Army has decided that rioters will be tried under military laws, according to the government.

Human Rights Watch has said that at least 4,000 people, including members of the opposition Pakistan Tehreek-e-Insaf party led by Khan, have been detained for their role in the protests.

Related coverage:

Pakistan's Supreme Court says ex-prime minister's arrest illegal