The answer is to satisfy the demands of the Hungarian nationalists. During this time there was nationalism was now growing in Hungary as they were not satisfied with Austrian rule. Austria at the time was declining in power after the wars with Italy. This was later dissolved after World War I.