Clampitt and Aiken had not finished trying to save their client, however. On the morning of July 7, they asked a District of Columbia court for a writ of habeas corpus, arguing that the military tribunal had no jurisdiction over their client. The court issued the writ at 3 A.M., and it was served on General Winfield Scott Hancock. Hancock was ordered to produce Surratt by 10 A.M. General Hancock sent an aide to General John F. Hartranft, who commanded the Old Capitol Prison, ordering him not to admit any US marshal, as that would prevent the marshal from serving a similar writ on Hartranft. Johnson was informed that the court had issued the writ and promptly cancelled it at 11:30 A.M. under the authority granted to him by the Habeas Corpus Suspension Act of 1863. General Hancock and United States Attorney General James Speed personally appeared in court and informed the judge of the cancellation of the writ.