Schley, William, 1799-1824