the habsburg dynasty ruled as emperors of austria over the western and northern half of the country and as kings of hungary over the kingdom of hungary. the kingdom of hungary had some ability to govern itself. it also had a say in things that affected both it and the rest of the empire. this was mainly foreign relations and defense.