Original: Nagy also released anti-communists from prison and talked about holding free elections and withdrawing Hungary from the Warsaw Pact.
Simplified: Hungary withdrew from the Warsaw Pact.