He was succeeded by his son, Bogdan III the One-Eyed (1504–1517) whose reign was troubled by a long series of military conflicts with Poland and Wallachia. The good relations with Poland were reestablished under the reign of Stephen IV the Younger (1517–1527). His successor, Peter IV Rareş (1527–1538, 1541–1546) intervened in the struggle for the crown of the Kingdom of Hungary: on the order of the sultan, in 1529 he invaded the Székely Land and defeated the army of Ferdinand I's partisans.