In response to a repressive constitution promulgated after the failed Viennese revolution the Hungarian diet on April 14th 1849 formally declared its independence from Austria. Lajos Kossuth was chosen to be governor of Hungary. The Russians intervene on behalf of the Austrians. On August 9th the Hungarian were decisively defeated at the battle of Temesovar thus ending the Hungarian bid for independence