Royal Navy officer during the American War of Independence, and the French Revolutionary Wars and Napoleonic Wars. (1739-1804) (1739–1804)