The Arrow Cross Party's cabinet, which had fled Hungary, was dissolved on 7 May 1945, a day before Germany's surrender. Szálasi was captured by American troops in Mattsee on 6 May and returned to Hungary on 3 October. He was tried by the People's Tribunal in Budapest in open sessions begun in February 1946, and sentenced to death for war crimes and high treason.