Just". He further improved the Hungarian economy and practised astute diplomacy in place of military action whenever possible. Matthias did undertake campaigning when necessary. From 1485 until his death, he occupied Vienna, aiming to limit the influence and meddling of the Holy Roman Empire in Hungary's affairs. At the time of the initial Ottoman encroachment, the Hungarians successfully resisted conquest. John Hunyadi was leader of the Crusade of Varna, in which the Hungarians tried to expel the Turks from the Balkans. Initially, they were successful, but later at the Battle of Varna, the Ottomans won a decisive if Pyrrhic victory. Wladyslaw III was decapitated during this battle. In 1456, John Hunyadi delivered a crushing defeat of the Ottomans at the Siege of Belgrade. The Noon Bell commemorates the fallen Christian warriors. In the 15th century, the Black Army of Hungary was a modern mercenary army, with the Hussars the most skilled troops of the Hungarian cavalry. In 1479, under the leadership of Pál Kinizsi, the Hungarian army destroyed the Ottoman and Wallachian troops at the Battle of Breadfield. The army of Hungary destroyed its enemies almost every time when Matthias was king. Matthias died without legitimate heir, and was thus succeeded by Vladislaus II Jagiellon (1490–1516), the son of Casimir IV of Poland. In turn, Vladislaus was succeeded by his son Louis II (1516–26). In 1526, at the Battle of Mohács, the forces of the Ottoman Empire led by Suleiman the Magnificent annihilated the Hungarian army. In trying to escape, Louis II drowned in the Csele Creek. The leader of the Hungarian army, Pál Tomori, also died in the battle. Early modern history The divided kingdom Due to a serious defeat by the Ottomans (Battle of Mohács) the central authority collapsed. The majority of Hungary's ruling elite elected John Zápolya (10 November 1526). A small minority of aristocrats sided with Ferdinand I, Holy Roman Emperor, who was Archduke of Austria, and was related to Louis by marriage. Due to previous agreements that the Habsburgs would take the Hungarian throne if Louis died without heirs, Ferdinand was elected king by a rump diet in December 1526. Although the borders shifted frequently during this period, the three parts can be identified, more or less, as follows: Royal Hungary, which consisted of northern and western territories where Ferdinand I was recognized as king of Hungary. This part is viewed as defining the continuity