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. A Democrat from Georgia, Carter took office after defeating incumbent Republican President Gerald Ford in the 1976 election. His presidency ended following his defeat in the 1980 election to Republican Ronald Reagan. Aged 98, he is the oldest living, longest-lived and longest-married president, and has the longest post-presidency. He is the third-oldest living former state leader.
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.
Carter reoriented U.S. foreign policy towards an emphasis on human rights. He continued the conciliatory late Cold War policies of his predecessors, normalizing relations with China and pursuing further Strategic Arms Limitation Talks with the Soviet Union. In an effort to end the Arab–Israeli conflict, he helped arrange the Camp David Accords between Israel and Egypt. Through the Torrijos–Carter Treaties, Carter guaranteed the eventual transfer of the Panama Canal to Panama. Denouncing the Soviet invasion of Afghanistan in 1979, he reversed his conciliatory policies towards the Soviet Union and began a period of military build-up and diplomatic pressure such as pulling out of the Moscow Olympics.
The final fifteen months of Carter's presidential tenure were marked by several additional major crises, including the Iran hostage crisis and economic malaise.