That election was decided upon two issues: gasoline shortages and the Iranian Hostage Crisis. The timing of both issues caused Carter's popularity to plummet. Anyone who campaigned on toughness would have beaten Carter, who was perceived as weak on foreign policy. Unfortunately for Carter, the Iranians overthrew the Shah of Iran, who was viewed as a toady of the Americans, and held several Americans as hostages. Had the election taken place after the Egyptian-Israeli agreement, which Carter played a direct role in negotiating, Carter would have been reelected. The choosing of Bush as Reagan's running mate united the Republicans, but it was unnecessary given the frustration of the American people with Carter's ineffectiveness in dealing with the situation in Iran. Carter had no chance of being reelected.