(1977-1981), Created the Department of Energy and the Depatment of Education. He was criticized for his return of the Panama Canal Zone, and because of the Soviet war in Afghanistan, he enacted an embargo on grain shipments to USSR and boycotted the 1980 Olympics in Moscow and his last year in office was marked by the takeover of the American embassy in Iran, fuel shortages, and the Soviet Invasion of Afghanistan, which caused him to lose to Ronald Regan in the next election.