Hastings, John, 1778-1854