The countries were united by weapons and oil until the 1979 Islamic revolution tore their friendship apart.