Former Pakistani military ruler Pervez Musharraf has been placed under house arrest after being arrested over a case involving his decision to fire senior judges while in power.
Police officer Mohammed Khalid said the authorities arrested Musharraf at his home on the outskirts of Islamabad.
He fled there from court on Thursday after an Islamabad High Court judge revoked his bail and ordered his arrest.
Mr Khalid said Musharraf was presented before a judge at Islamabad District Court who ordered police to keep him in custody for two days and then present him before an anti-terrorism court.
Local TV footage showed Musharraf entering the court in Islamabad amid high security.
Musharraf's lawyer, Malik Qamar Afzal, said the judge had asked police to keep Musharraf in their custody.
Police returned him to his home on the outskirts of Islamabad and held him under house arrest.
Musharraf called the allegations against him "politically motivated" in a message posted on his Facebook page after his arrest.