The Ottoman conquests in Croatia led to the 1493 Battle of Krbava field and 1526 Battle of Mohács, both ending in decisive Ottoman victories. King Louis II of Hungary died at Mohács, and Ferdinand I of the House of Habsburg was elected in 1527 as the new ruler of Croatia, under the condition that he provide protection to Croatia against the Ottoman Empire, while respecting its political rights. The period saw the rise to prominence of a native nobility such as the Frankopans and the Šubićs, and ultimately to numerous bans from the two families. The present coat of arms of Slavonia, used in an official capacity as a part of the coat of arms of Croatia, dates from this period—it was granted to Slavonia by king Vladislaus II Jagiellon on 8 December 1496.