Qasim soon withdrew Iraq from the pro-Western Baghdad Pact .
Qasim soon established friendly relations with the Soviet Union .
Qasim soon withdrew Iraq from the pro-Western Baghdad Pact and established friendly relations with the Soviet Union .