Pakistani police arrested former president Pervez Musharraf on Friday, presenting him before an Islamabad court on charges stemming from his dismissal of judges when he was in power in 2007.
He was later sent home and placed under house arrest at his residence on the outskirts of the capital.
On Thursday, the court rejected the former president's bail request and ordered his arrest. However, police did not immediately arrest Mr. Musharraf who fled the courtroom with his bodyguards.
Mr. Musharraf seized power in a military coup in 1999. He was forced to step down in 2008 under threat of impeachment.
He lived in self-imposed exile for about four years before returning to Pakistan late last month with plans to run for parliament in general elections next month. Since his return, courts have ruled him ineligible for the poll.