After the Battle of the Cosmin Forest, in 1498, Pokuttia was conquered by Stephen the Great, annexed and retained by Moldavia until the Battle of Obertyn in 1531, when it was recaptured by Poland's hetman Jan Tarnowski, who defeated Stephen's son Petru Rareş. Minor Polish-Moldavian clashes for Pokuttia continued for the next 15 years, until Petru Rareş's death.