 New king of Poland was Jan Olbracht, while Lithuania was governed by his brother Aleksander.Following his father, Olbracht tried to win the support of the nobility, granting it several concessions in the Statutes of Piotrków.The failed invasion of Moldavia in 1497 complicated internal situation of Poland, and strengthened the position of the magnates.