Gerald Ford became president after Nixon's resignation and struggled with stagflation as inflation and unemployment rose. His attempts to cut spending and raise interest rates caused a recession. Ford also failed to get support from Congress and lost Vietnam. In the 1976 election, Jimmy Carter was elected as an outsider who promised to restore integrity, but struggled with a weak economy as inflation increased due to rising oil prices set by OPEC. Carter achieved the Camp David Accords but his presidency was hurt by the Iran hostage crisis and a failed rescue mission.