Act of Congress
The Habeas Corpus Act of 1867 is an act of Congress that significantly expanded the jurisdiction of federal courts to issue writs of habeas corpus.
Passed February 5, 1867, the Act amended the Judiciary Act of 1789 to grant the courts the power to issue writs of habeas corpus in all cases where any person may be restrained of their liberty in violation of the constitution, or any treaty or law of the United States. Prior to the Act's passage, prisoners in the custody of one of the states who wished to challenge the legality of their detention could petition for a writ of habeas corpus only in state courts; the federal court system was barred from issuing writs of habeas corpus in their cases.
The Act also permitted the court to go beyond the return and question the truth of the jailer's stated justification for detaining the petitioning prisoner, whereas prior to the Act courts were technically bound to accept the jailer's word that the prisoner was actually being held for the reason stated.
The Act largely restored habeas corpus following its 1863 suspension by Congress, ensuring that anyone arrested after its passage could challenge their detention in the federal courts, but denied habeas relief to anyone who was already in military custody for any military offense or for having aided the Confederacy.