In 1838, the 25th Congress signed the Congressional Act of 1838 (5 Stat. L., 304) which constituted the Coast Guard’s Marine Inspection Program and came into effect in October 1st of that year. This was the first regulation authorized by the national government in order to provide better security for the lives of passengers on the ships in whole or in part by steam.
[The port state control works as the tool of verifying the implementation of rules, regulation and legislation both at a national...
https://safety4sea.com/first-regulation-on-steamboats-authorized-in-the-u-s-in-1838/