In 1775 he joined the American Continental Navy and carried out a daring series of attacks on shipping in British waters, his best-known exploit being his engagement and sinking of the naval frigate Serapis while in command of the Bonhomme Richard (1779). In 1788 he joined the Russian navy as a rear-admiral.