Agnew, James, 1769-1855