A Captain of the Port enforces regulations for the protection and security of vessels, harbors, and waterfront facilities; anchorages; bridges; safety and security zones; and ports and waterways. For example, he may designate restricted areas, such as around nuclear power plants; mandate the use of pilots for navigation into harbor; mandate prior notice of arrival for ships carrying hazardous material; and other safety-related activities.
In the event of an emergency, the Captain of the Port has the authoritiy to act as necessary without additional authorization and has power over all of the other major Federal agencies in his area of responsibility. However, the Captain of the Port must consider Federal laws and the Code of Federal Regulations in making decisions in non-emergencies.
The designation was first used during World War I and was given to the officer responsible for loading munitions aboard ships.
Other ports world wide, such as Gibraltar, have Captains of the Port, who report to the agency responsible for pilotage.