 Ties between Poland and Moldavia expanded after the founding of the Moldavian state by Bogdan of Cuhea, a Vlach voivode from Maramureș who had fallen out with the Hungarian king.Crossing the Carpathian mountains in 1359, the voivode took control of Moldavia and succeeded in creating Moldavia as an independent political entity.Despite being disfavored by the brief union of Angevin Poland and Hungary (the latter was still the country's overlord), Bogdan's successor Lațcu, the Moldavian ruler also likely allied himself with the Poles.