program (1) General authority Subject to the availability of appropriations, the Secretary of Transportation shall make grants, on a competitive basis, to eligible applicants to assist in funding eligible projects for the purpose of improving the safety, efficiency, or reliability of the movement of goods through ports and intermodal connections to ports. (2) Eligible applicant The Secretary may make a grant under this subsection to the following: (A) A State. (B) A political subdivision of a State or local government. (C) A public agency or publicly chartered authority established by 1 or more States. (D) A special purpose district with a transportation function. (E) A multistate or multijurisdictional group of entities described in this subsection. (F) A lead entity described in subparagraph (A), (B), (C), (D), or (E) jointly with a private entity or group of private entities. (3) Eligible projects The Secretary may make a grant under this subsection— (A) for a project that— (i) is either— (I) within the boundary of a port