Question: As a result of American hostility, what military alliance did Libya say it would join?
Sentence: In turn, Gaddafi played up his commercial relationship with the Soviets, visiting Moscow again in April 1981 and 1985, and threatening to join the Warsaw Pact.
Answer in sentence: yes