Protests are ongoing nationwide, and at least one person has been killed, following the arrest of Imran Khan.
Mr Khan was arrested by security forces at the High Court in the capital, Islamabad.
Dramatic footage showed dozens of officers arriving and detaining the 70-year-old, who was bundled into a vehicle and driven away.
He was appearing in court on charges of corruption, which he says are politically motivated.
Mobile data services in the country were suspended on the instructions of the interior ministry on Friday as protests grew, many of them taking place in front of army compounds.
Pakistan's army plays a prominent role in politics, sometimes seizing power in military coups, and, on other occasions, pulling levers behind the scenes.
Mr Khan was ousted as PM in April last year and has been campaigning for early elections since then.
General elections are due to be held later this year.
Mr Khan's Pakistan Tehreek-e-Insaf (PTI) party called on its supporters to protest. In the hours after he was detained, violence was reported from cities including Lahore, Karachi and Peshawar.
On the streets of Islamabad, hundreds of protesters blocked one of the main highways in and out of the capital.
Read more at BBC news
We need your support
Sri Lanka is one of the most dangerous places in the world to be a journalist. Tamil journalists are particularly at threat, with at least 41 media workers known to have been killed by the Sri Lankan state or its paramilitaries during and after the armed conflict.
Despite the risks, our team on the ground remain committed to providing detailed and accurate reporting of developments in the Tamil homeland, across the island and around the world, as well as providing expert analysis and insight from the Tamil point of view
We need your support in keeping our journalism going. Support our work today.
For more ways to donate visit https://donate.tamilguardian.com.