Answer
Maintaining Hungarian independence was John Zápolya's primary accomplishment. He resisted Ottoman and Habsburg pressures to preserve Hungary's sovereignty. By negotiating the Treaty of Várad with the Ottomans in 1528, he secured their support and established himself as the independent ruler of eastern Hungary. This treaty allowed Hungary to maintain its autonomy and prevented its complete annexation by either the Ottomans or the Habsburgs.