; or (B) the Secretary of Homeland Security, in coordination with the Director of National Intelligence, has identified as a foreign adversary that is not included in such Annual Threat Assessment. (2) Foreign crane The term foreign crane means a crane for which any information technology and operational technology components in such crane that is connected into cyber infrastructure at a port located in the United States was, in whole or in part, manufactured by an entity that is operating under ownership, control, or influence of a covered foreign country. 3. Foreign crane prohibition (a) In general Notwithstanding any other provision of law, a foreign crane— (1) for which a contract was entered into on or after the date of enactment of this Act may not be operated at a port located in the United States; and (2) operated at a port located in the United States may not operate foreign software on any date after the date which is 5 years after the date of enactment of this Act. (b) Definitions In this section: (1) Covered foreign country The term covered foreign country means a country that— (A) the intelligence community has identified as a foreign adversary in its most recent Annual Threat Assessment; or (B) the Secretary of Homeland Security, in coordination with the Director of National Intelligence, has identified as a foreign adversary that is not included in such Annual Threat Assessment. (2) Foreign crane The term foreign crane means a crane for which any software or other technology in such crane that is connected into cyber infrastructure at a port located in the United States was, in whole or in part, manufactured by an entity that is owned or controlled by, is a subsidiary of, or is otherwise related legally or financially to a corporation based in a covered foreign country. (3) Foreign software The term foreign software means software or other technology, in whole or in part, manufactured by a company wholly owned by a covered foreign country.