Captain William Johnston, 1776-1850