 In the year 1866 Austria lost its war with Prussia, and were pulled out of the German unification.The entire monarchy was in the state of crisis.Austrians and Hungarians made a political deal, better known as Austro-Hungarian compromise, this forced Croatia to reach a compromise with the Kingdom of Hungary of its own.