With the defeat of the Hungarians during the revolution, many of the reforms were revoked and Hungary was put under military dictatorship under Austrian general Julius Haynau. Though the revolution's suppression ended the parliamentary-style government in Hungary, it did not destroy the seeds that were sown by the initial reforms. During 1859 and 1860, after seeing the Hungarian popular support for the Italians during the Austro-Italian wars, Austria began to try new constitutional experiments in Hungary. During this period, Kálmán Tisza was first elected to the newly formed government. Then, in 1867, Tisza took part, on behalf of the Hungarian Parliament, in negotiations with Emperor Franz Joseph I that led to the Compromise of 1867 (; ). The importance of this document is that it restored the "Constitutional integrity of Hungary" (Janos 90), with the exception over powers of defense and foreign affairs. These minor concessions by the Emperor soon collated and restored the powers, concerning internal affairs back to the Hungarians. These changed circumstances laid the path for Tisza to rise to the position of Prime Minister. In 1875 he founded the Liberal Party and was elected to the position of Prime Minister of Hungary. The efficiency of the government was initially quite weak and his actions during his 15-year service mainly consisted of reforming the government and the economy.