When did Transylvania become part of the Habsburg 's Austrian empire ?
Both territories inhabited by Romanians achieved their independence from the Hungarian Crown after military conflicts ( Battle of Posada , 1330 ) or social conflicts ( Moldavian boyars ' revolt against Hungary , 1364 ) — these historic events being initiated by Basarab I of Wallachia ( 1310–1352 ) and Bogdan I of Moldavia ( 1359–1365 ) .