 From the early 16th century the Pokuttya border region was contested by Poland and Moldavia (see Battle of Obertyn).A peace with Moldavia took effect in 1538 and Pokuttya remained Polish.An "eternal peace" with the Ottoman Empire was negotiated by Poland in 1533 to secure frontier areas.