Jimmy Carter's tenure as the 39th president of the United States began with his inauguration on January 20, 1977, and ended on January 20, 1981. Carter, a Democrat from Georgia, took office following his narrow victory over Republican incumbent president Gerald Ford in the 1976 presidential election. His presidency ended following his landslide defeat in the 1980 presidential election to Republican Ronald Reagan, after one term in office. At the time of his death at the age of 100, he was the oldest living, longest-lived and longest-married president, and has the longest post-presidency.
Carter took office during a period of "stagflation", as the economy experienced a combination of high inflation and slow economic growth. His budgetary policies centered on taming inflation by reducing deficits and government spending. Responding to energy concerns that had persisted through much of the 1970s, his administration enacted a national energy policy designed for long-term energy conservation and the development of alternative resources. In the short term, the country was beset by an energy crisis in 1979 which was overlapped by a recession in 1980. Carter sought reforms to the country's welfare, health care, and tax systems, but was largely unsuccessful, partly due to poor relations with Democrats in Congress.