 Dragoș established a polity there as a vassal to the Kingdom of Hungary in the 1350s.The independence of the Principality of Moldavia was gained when Bogdan I, another Vlach voivode from Maramureș who had fallen out with the Hungarian king, crossed the Carpathian mountains in 1359 and took control of Moldavia, wresting the region from Hungary.The Principality of Moldavia was bounded by the Carpathian Mountains in the west, the Dniester River in the east, and the Danube River and Black Sea to the south.