From the establishment of the Revenue Cutter Service in 1790 until 1799 the officers of the service were called "master" and "mate"; the same terms for officers used on merchant ships.
In 1908, Congress established the rank of "captain-commandant" equal to the rank of a U.S. Navy captain and also the rank of "senior captain" equal to a commander.