Police say former Pakistani military ruler Pervez Musharraf has sped away from a court in the country's capital to avoid arrest after his bail was revoked.

Police officer Ali Asghar says policemen were deployed at the court building in Islamabad on Thursday, but Musharraf's security team rushed him out and put him in a black SUV before they could detain him.

Asghar says the court rejected his bail in a case related to his decision to suspend the constitution and declare a state of emergency in 2007.

A spokeswoman for Musharraf, Saima Ali Dada, says his legal time is trying to decide the next move.