A Pakistani court ordered the arrest of former president Pervez Musharraf over his showdown with the judiciary in 2007 when he was still in power, one of his aides told Reuters.
Election officials had barred Musharraf from running for the National Assembly earlier this week, effectively derailing his attempts to regain a place in politics by standing at the polls.
"Islamabad High Court has cancelled Musharraf's bail and ordered his arrest in the judges' detention case today," Mohammad Amjad, secretary-general of Musharraf's All Pakistan Muslim League party, told Reuters.
Islamabad High Court ordered Musharraf be detained in connection with allegations that he committed treason when he sacked senior judges and declared emergency rule as he struggled to hold on to power. Critics said he acted unconstitutionally.
Police made no immediate move to enforce the arrest order and Musharraf left the court flanked by his personal bodyguards.
More top news
Republican Presidential candidate said it was "far-fetched" to say Russia was behind recent release of sensitive Democratic Party emails.
In the run-up to the Rio Olympic Games, ITV News speaks to four Olympic hopefuls in Team GB. Today we profile boxer Antony Fowler.
The man's identity card was alleged to have been found at the home of the other assailant, Adel Kermiche, who was named on Tuesday.