Von Scharnhorst, Gerhard David, active 1798-1813, General