What year did Transylvania become a territory of the Habsburg ' Austrian empire ?
After his death , as vassal tributary states , Moldavia and Wallachia had complete internal autonomy and external independence , which they finally lost in the 18th century .