Royal Navy officer during the French Revolutionary and Napoleonic Wars and the War of 1812 (1778-1845)