Ties between Poland and Moldavia expanded after the Polish annexation of Galicia in the aftermath of the Galicia–Volhynia Wars and the founding of the Moldavian state by Bogdan of Cuhea. Bogdan, a Vlach voivode from Maramureș who had fallen out with the Hungarian king, crossed the Carpathian mountains in 1359, took control of Moldavia, and succeeded in transforming it into 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. Lațcu also accepted conversion to Roman Catholicism around 1370, but his gesture was to remain without lasting consequences.