Item #2 is true: Allowing a foreign leader medical treatment in the United States led to a hostage crisis in Iran.
The taking of the hostages in Iran was a retaliation aimed at an action by US President Jimmy Carter. The Iranian Revolution had ousted the shah of Iran, a US-backed leader. The former shah, Mohammad Reza Pahlavi, living in exile in Mexico, was found to have cancer. President Carter allowed him to come to the United States for treatment. This enraged the Iranians, who thought that the US was perhaps trying to bring the shah back to power. That's when the hostages were taken.