qnli question: In which year did Hungary attempt to leave the Warsaw Pact? sentence: In 1956, following the declaration of the Imre Nagy government of withdrawal of Hungary from the Warsaw Pact, Soviet troops entered the country and removed the government.