Carter, who served as the 39th president from 1977 to 1981, is the longest-lived former chief executive in U.S. history.