The Port Security program of the Coast Guard began with the passage of the Espionage Act of 1917 and due to the Black Tom explosion. Coast Guard's Captain of the Port (COTPs) were given responsibility for the security of port areas under this act. During World War I, port security operations were conducted by active duty personnel.