 In 1494, he signed a peace agreement with the Grand Duchy of Moscow.The treaty was reinforced with engagement of Grand Duke of Lithuania Alexander Jagiellon and Helena, daughter of Ivan III.As the groom was away in Lithuania, his role was performed by Kęsgaila.