Douglass, Robert, active 1801-1820, Lieutenant-Colonel