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
David Cameron has accepted the Electoral Commission's proposal to change the EU referendum question to avoid a potential bias.
Everton footballer Darron Gibson has pleaded guilty to crashing his sports car into a cyclist while drink-driving.
Natalie Aymot claims she got pregnant after a holiday romance with an Australian man but has no way to contact him after losing her phone.