Rankin, William, 1787-1869