(2) Any other civil action or claim against the United States, not exceeding $10,000 in amount, founded either upon the Constitution, or any Act of Congress, or any regulation of an executive department, or upon any express or implied contract with the United States, or for liquidated or unliquidated damages in cases not sounding in tort, except that the district courts shall not have jurisdiction of any civil action or claim against the United States founded upon any express or implied contract with the United States or for liquidated or unliquidated damages in cases not sounding in tort which are subject to sections 7104(b)(1) and 7107(a)(1) of title 41. For the purpose of this paragraph, an express or implied contract with the Army and Air Force Exchange Service, Navy Exchanges, Marine Corps Exchanges, Coast Guard Exchanges, or Exchange Councils of the National Aeronautics and Space Administration shall be considered an express or implied contract with the United States.
(2) No person convicted of a felony who is incarcerated while awaiting sentencing or while serving a sentence may bring a civil action against the United States or an agency, officer, or employee of the Government, for mental or emotional injury suffered while in custody without a prior showing of physical injury or the commission of a sexual act (as defined in section 2246 of title 18).
(d) The district courts shall not have jurisdiction under this section of any civil action or claim for a pension.
(e) The district courts shall have original jurisdiction of any civil action against the United States provided in section 6226, 6228(a), 7426, or 7428 (in the case of the United States district court for the District of Columbia) or section 7429 of the Internal Revenue Code of 1986.
(f) The district courts shall have exclusive original jurisdiction of civil actions under section 2409a to quiet title to an estate or interest in real property in which an interest is claimed by the United States.
(g) Subject to the provisions of chapter 179, the district courts of the United States shall have exclusive jurisdiction over any civil action commenced under section 453(2) of title 3, by a covered employee under chapter 5 of such title.
(June 25, 1948, ch. 646, 62 Stat. 933; Apr. 25, 1949, ch. 92, § 2(a), 63 Stat. 62; May 24, 1949, ch. 139, § 80(a), (b), 63 Stat. 101; Oct. 31, 1951, ch. 655, § 50(b), 65 Stat. 727; July 30, 1954, ch. 648, § 1, 68 Stat. 589; Pub. L. 85–508, § 12(e), July 7, 1958, 72 Stat. 348; Pub. L. 88–519, Aug. 30, 1964, 78 Stat. 699; Pub. L. 89–719, title II, § 202(a), Nov. 2, 1966, 80 Stat. 1148; Pub. L. 91–350, § 1(a), July 23, 1970, 84 Stat. 449; Pub. L. 92–562, § 1, Oct. 25, 1972, 86 Stat. 1176; Pub. L. 94–455, title XII, § 1204(c)(1), title XIII, § 1306(b)(7), Oct. 4, 1976, 90 Stat. 1697, 1719; Pub. L. 95–563, § 14(a), Nov. 1, 1978, 92 Stat. 2389; Pub. L. 97–164, title I, § 129, Apr. 2, 1982, 96 Stat. 39; Pub. L. 97–248, title IV, § 402(c)(17), Sept. 3, 1982, 96 Stat. 669; Pub. L. 99–514, § 2, Oct. 22, 1986, 100 Stat. 2095; Pub. L. 102–572, title IX, § 902(b)(1), Oct. 29, 1992, 106 Stat. 4516; Pub. L. 104–134, title I, § 101[(a)] [title VIII, § 806], Apr. 26, 1996, 110 Stat. 1321, 1321–75; renumbered title I, Pub. L. 104–140, § 1(a), May 2, 1996, 110 Stat. 1327; Pub. L. 104–331, § 3(b)(1), Oct. 26, 1996, 110 Stat. 4069; Pub. L. 111–350, § 5(g)(6), Jan. 4, 2011, 124 Stat. 3848; Pub. L. 113–4, title XI, § 1101(b), Mar. 7, 2013, 127 Stat. 134.)


