who emphasized ethics, morality, and religious devotion. According to Stanisław Orzechowski (1513–1566), the princes were subject to corporal punishment which was approved by their father. Długosz noted Casimir's skills in oratory when he delivered speeches to greet his father returning to Poland in 1469 and Jakub Sienienski, the Bishop of Kujawy, in 1470. Hungarian campaign Prince Casimir's uncle Ladislaus the Posthumous, King of Hungary and Bohemia, died in 1457 at the age of 17, without leaving an heir. Casimir's father, King Casimir IV, subsequently advanced his claims to Hungary and Bohemia, but could not enforce them due to the Thirteen Years' War (1454–66). Instead, Hungarian nobles elected Matthias Corvinus and Bohemian nobles selected George of Poděbrady as their kings. George of Poděbrady died in March 1471. In May 1471, Vladislaus, eldest son of Casimir IV, was elected to the throne of Bohemia. However, a group of Catholic Bohemian nobles supported Matthias Corvinus instead of Vladislaus II. In turn, a group of Hungarian nobles conspired against Matthias Corvinus and invited the Polish king to overthrow him. King Casimir IV decided to install his son, Casimir, in Hungary. Poland amassed an army of 12,000 men, commanded by Piotr Dunin and Dziersław of Rytwiany. Both King Casimir and Prince Casimir participated in the campaign. In October 1471, the Polish army crossed the Hungarian border and slowly marched towards Buda. Matthias Corvinus managed to win over the majority of the Hungarian nobles, including the main conspirator Archbishop János Vitéz, and the Polish army did not receive the expected reinforcements. Only Deák, Perény and Rozgonyi families sent troops. Upon hearing that Corvinus' army of 16,000 men camped outside of Pest, the Polish army decided to retreat from Hatvan to Nitra. There the soldiers battled food shortages, spreading infectious diseases, and the upcoming winter. The Polish King also lacked funds to pay the mercenaries. As a result, the Polish army decreased by about a third. In December 1471, Prince Casimir, fearing for his safety, was sent to Jihlava closer to the Polish border and that further eroded their soldiers' morale. Corvinus took Nitra and a one-year truce was completed in March 1472 in Buda. Prince Casimir returned to Kraków to resume his studies with Długosz. Długosz remarked that Prince Casimir felt "great sorrow and shame" regarding the failure in Hungary. Polish propaganda, however, portrayed him as a savior, sent by divine providence, to protect the people