After the Austrian revolution in Vienna was defeated, Franz Joseph I of Austria replaced his uncle Ferdinand I of Austria, who was not of sound mind. Franz Joseph didn't recognise Batthyány's second premiership, which began on 25 September. Also, Franz Joseph was not recognized as "King of Hungary" by the Hungarian parliament, and he was not crowned as "King of Hungary" until 1867. In the end, the final break between Vienna and Pest occurred when Field-Marshal Count Franz Philipp von Lamberg was given control of every army in Hungary (including Jelačić's). He went to Hungary where he was mobbed and viciously murdered. Following his murder the Imperial court dissolved the Hungarian Diet and appointed Jelačić as Regent.