He was re-elected in a landslide victory in 1984. During his second term, Reagan worked on ending the Cold War. He also ordered the 1986 bombing of Libya. In 1987, the Reagan administration faced a political scandal. It was the Iran–Contra affair. Reagan worked with Soviet General Secretary Mikhail Gorbachev during his second term. This led to the signing of the INF Treaty. It decreased nuclear weapons in the United States and the Soviet Union. Reagan left office in January 1989.