The events related to Brazilian participation in the war and the ending of the conflict in 1945 strengthened pressures in favour of redemocratisation. Although there were some concessions by the regime, such as the setting of a date for presidential elections, amnesty for political prisoners, the freedom to organize political parties, and a commitment to choose a new Constitutional convention, Vargas was not able to retain support for the continuation of his presidency and was deposed by the military in a surprise coup launched from his own War Ministry on October 29, 1945.