Rogers, James, active 1778-1784, Major