Newall, David, active 1780-1827, Colonel