He served in the Royal Navy from 1798 to 1810 on HMS Phoenix, HMS Superb, HMS Sophie, HMS Amethyst and HMS Penelope, and at the Invasion of Martinique (1809).