# United States Statutes at Large/Volume 5/27th Congress/2nd Session/Chapter 257

Chap. CCLVII.—An Act to provide further remedial justice in the courts of the United States.
Act of Aug. 23, 1842, ch. 188. Justices of the Supreme Court, &c. empowered to grant writs of habeas corpus when subjects of foreign States are in custody of the United States, &c.Be it enacted by the Senate and House of Representatives of the United States of America in Congress assembled, That either of the justices of the Supreme Court of the United States, or judge of any of the district court of the United States, in which a prisoner is confined, in addition to the authority already conferred by law, shall have power to grant writs of habeas corpus in all cases of any prisoner or prisoners in jail or confinement, where he, she, or they, being subjects or citizens of a foreign State, and domiciled therein, shall be committed or confined, or in custody, under or by any authority or law, or process founded thereon, of the United States, or of any one of them, for or on account of any act done or omitted under any alleged right, title, authority, privilege, protection, or exemption, set up or claimed under the commission, or order, or sanction, of any foreign State or Sovereignty, the validity and effect whereof depend on the law of nations, or under color thereof. And upon the return of the said writ, and due proof of the service of notice of the said proceeding to the Attorney General or other officer prosecuting the pleas of the State, under whose authority the petitioner has been arrested, committed, or is held in custody, to be prescribed by the said justice or judge at the time of granting said writ, the said justice or judge shall proceed to hear the said cause; and if, upon hearing the same, it shallIf the prisoner is entitled to be discharged for the right, &c. claimed, the justice or judge shall forthwith discharge him. appear that the prisoner or prisoners is or are entitled to be discharged from such confinement, commitment, custody or arrest, for or by reason of such alleged right, title, authority, privileges, protection or exemption, so set up and claimed, and the laws of nations applicable thereto, and that the same exists in fact, and has been duly proved to the said justice or judge, then it shall be the duty of the said justice or judge forthwith to discharge such prisoner or prisoners accordingly. And if it shall appear to the said justice or judge that such judgment or discharge ought not to be rendered, then the said prisoner or prisoners shall be forthwith remanded:Proviso. Provided always, That from any decision of such justice or judge an appeal may be taken to the circuit court of the United States for the district in which the said cause is heard; and from the judgment of the said circuit court to the Supreme Court of the United States, on such ​terms and under such regulations and orders as well for the custody and appearance of the prisoner or prisoners as for sending up to the appellate tribunal a transcript of the petition, writ of habeas corpus returned thereto, and other proceedings, as the judge hearing the said cause may prescribe; and pending such proceedings or appeal, and until final judgment be rendered therein,Until final judgment, and after discharge, proceedings in State courts null and void. and after final judgment or discharge in the same, any proceeding against said prisoner or prisoners, in any State court, or by or under the authority of any State, for any matter or thing so heard and determined, or in process of being heard and determined, under and by virtue of such writ of habeas corpus, shall be deemed null and void.
Approved, August 29, 1842.