The offer was a significant departure in American foreign policy , given that Iran and the United States severed diplomatic ties after student hard-liners attacked the American Embassy in Tehran in 1979 and held 52 Americans hostage for 444 days .