
    Frederick BANKS, Petitioner-Appellant, v. Kelly FORBES, FMC Butner; U.S. Marshal’s Service; Mark Hornak; D. Drew, Warden, USP Atlanta; J.C. Holland, Warden, FMC Butner; S.A. Sean Langford; Christopher Asher Wray; Mike Pompeo, Central Intelligence Agency; Robert Cessar, Asst. US Attorney; Soo Song, US Attorney; Federal Bureau of Prisons; Thomas Kane, Acting Director, Federal BOP, Respondents-Appellees.
    
      No. 17-7207
    United States Court of Appeals, Fourth Circuit.
    Submitted: December 21, 2017
    Decided: December 28, 2017
    Frederick Hamilton Banks, Appellant Pro Se.
    Before WILKINSON and DUNCAN, Circuit Judges, and HAMILTON, Senior Circuit Judge.
   Unpublished opinions are not binding precedent in this circuit.

PER CURIAM:

Federal pretrial detainee Frederick Banks appeals the district court’s order dismissing without prejudice his petition seeking a writ of habeas corpus, pursuant to 28 U.S.C. § 2241 (2012), and a writ of mandamus, pursuant to 28 U.S.C. § 1861 (2012). We agree with the district court that, because a Pennsylvania District Court is in the process of determining Banks’ competency to stand trial, Banks’ request for mandamus and habeas relief is premature. See Heckler v. Ringer, 466 U.S. 602, 616, 104 S.Ct. 2013, 80 L.Ed.2d 622 (1984) (“The common-law writ of mandamus, as codified in 28 U.S.C. § 1361, is intended to provide a remedy for a plaintiff only if he has exhausted all other avenues of relief and only if the defendant owes him a clear nondiscretionary duty.”); Timms v. Johns, 627 F.3d 525, 530 (4th Cir. 2010) (“[W]e hold that Timms should have exhausted his alternative remedies in the Commitment Action before availing himself of habeas review under § 2241.”). Thus, we grant Bank’s application to proceed in forma pauperis and affirm the district court’s judgment. See Banks v. Forbes, No. 5:17-hc-02102-BO (E.D.N.C. Aug. 28, 2017). We dispense with oral argument because the facts and legal contentions are adequately presented in the materials before this court and argument would not aid the decisional process.

AFFIRMED  