) ▁was ▁the ▁el dest ▁child ▁of ▁Louis ▁IV , ▁Holy ▁Roman ▁Emperor , ▁and ▁Margaret ▁II , ▁Count ess ▁of ▁H ain aut . ▁ ▁In ▁Of en ▁in ▁ 1 3 5 1 , ▁Margaret ▁married ▁Stephen , ▁Duke ▁of ▁S lav onia , ▁the ▁young est ▁son ▁of ▁King ▁Charles ▁I ▁of ▁Hung ary ▁and ▁Elizabeth ▁of ▁Poland . ▁The ▁couple ' s ▁first ▁child , ▁Elizabeth , ▁was ▁born ▁the ▁next ▁year , ▁and ▁was ▁followed ▁by ▁John ▁in ▁ 1 3 5 4 . ▁Upon ▁Stephen ' s ▁death ▁the ▁same ▁year , ▁John ▁inherited ▁the ▁du chy , ▁with ▁Duch ess ▁Margaret ▁as ▁his ▁guard ian . ▁ ▁The ▁Duch ess ▁rem ar ried ▁in ▁ 1 3 5 6 , ▁choosing ▁Ger lach ▁von ▁H ohen lo he ▁as ▁her ▁second ▁husband , ▁but ▁kept ▁the ▁reg ency ▁over ▁S lav onia , ▁Cro atia ▁and ▁Dal mat ia . ▁However , ▁a ▁war ▁broke ▁out ▁between ▁the ▁Kingdom ▁of ▁Hung ary ▁and ▁the ▁Republic ▁of ▁Ven ice ▁in ▁the ▁spring ▁of ▁the ▁same ▁year ▁and ▁the ▁royal ▁court ▁decided ▁to ▁end ▁the ▁du chy ' s ▁aut onomy . ▁Margaret ▁was ▁thus ▁dep riv ed ▁of ▁power . ▁John , ▁who ▁had ▁been ▁recogn ised ▁as ▁he ir ▁pres um pt ive ▁of ▁both ▁Hung ary ▁and ▁Poland , ▁died ▁in ▁ 1 3 6 0 . ▁ ▁She ▁died ▁in ▁ 1 3 7 4 ▁and ▁was ▁surv ived ▁by ▁her ▁daughter ▁and ▁second