28 U.S.C. § 1338 : US Code - Section 1338: Patents, plant variety protection, copyrights, mask works, designs, trademarks, and unfair competition

      (a) The district courts shall have original jurisdiction of any
    civil action arising under any Act of Congress relating to patents,
    plant variety protection, copyrights and trademarks. No State court
    shall have jurisdiction over any claim for relief arising under any
    Act of Congress relating to patents, plant variety protection, or
    copyrights. For purposes of this subsection, the term "State"
    includes any State of the United States, the District of Columbia,
    the Commonwealth of Puerto Rico, the United States Virgin Islands,
    American Samoa, Guam, and the Northern Mariana Islands.
      (b) The district courts shall have original jurisdiction of any
    civil action asserting a claim of unfair competition when joined
    with a substantial and related claim under the copyright, patent,
    plant variety protection or trademark laws.
      (c) Subsections (a) and (b) apply to exclusive rights in mask
    works under chapter 9 of title 17, and to exclusive rights in
    designs under chapter 13 of title 17, to the same extent as such
    subsections apply to copyrights.