Dorr, Samuel, 1774-1844