In direct response to the formation of NATO, the Soviet Union created a formal military alliance, the Warsaw Pact. Members included East Germany, Poland, Czechoslovakia, Hungary, Romania and Bulgaria.
“On the event of armed attack in Europe on one or more of the Parties (…) each of the Parties to the Treaty shall immediately (…) come to the assistance of the state or states attacked”
Know more at NATO
Know more at RAF Museum