His final year was marred by the Iran hostage crisis, which contributed to his losing the 1980 election to Ronald Reagan.