Elliot, William, 1788-1863