 The Polish chronicler Jan Długosz mentioned Moldavians (under the name "Wallachians") as having joined a military expedition in 1342, under King Ladislaus I, against the Margraviate of Brandenburg.The Polish state was powerful enough to counter the Hungarian Kingdom which was consistently interested in bringing the area that would become Moldova into its political orbit.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.