President Carter was surprised by the invasion, as the consensus of the U.S. intelligence community during 1978 and 1979—reiterated as late as September 29, 1979—was that "Moscow would not intervene in force even if it appeared likely that the Khalq government was about to collapse." Indeed, Carter's diary entries from November 1979 until the Soviet invasion in late December contain only two short references to Afghanistan, and are instead preoccupied with the ongoing hostage crisis in Iran. In the West, the Soviet invasion of Afghanistan was considered a threat to global security and the oil supplies of the Persian Gulf.