Answer
Nagy was executed on treason charges, which he was convicted of in a military trial. He was accused of conspiring with the Soviet Union to undermine Hungary's independence and sovereignty. Nagy's execution was widely condemned by the international community and is considered to be a major human rights violation.