John Corvinus (Hungarian: Corvin János, Croatian: Ivaniš Korvin, Romanian: Ioan Corvin; 2 April 1473 – 12 October 1504) was the illegitimate son of Matthias Corvinus, King of Hungary, and his mistress, Barbara Edelpöck. Biography Early life Born in Buda, he took his name from the raven (Latin: corvus) in his father's escutcheon. Matthias originally intended him for the Church, but on losing all hope of offspring from his queen, Beatrice of Naples, determined, towards the end of his life, to make the youth his successor on the throne. He loaded him with honours and riches until he was by far the wealthiest magnate in the land. He publicly declared him his successor, created him a prince with vast apanages in Silesia (Duchy of Głogów) made the commandants of all the fortresses in the kingdom take an oath of allegiance to him, and tried to arrange a marriage for him with Bianca Maria Sforza of Milan, a project which was frustrated by the intrigues of Queen Beatrice. Matthias also intended to make the recognition of John as Prince Royal of Hungary by Holy Roman Emperor Frederick III, in counterpart of relinquishing all or part of the conquered hereditary domains of the House of Habsburg; but his sudden death left the matter still pending, and the young prince suddenly found himself alone in the midst of enemies. After Matthias's death The inexperienced and irresolute youth speedily became the victim of the most shameful chicanery. He was first induced formally to resign his claims to the throne, on the understanding that he was to be compensated with the crown of Bosnia. He was then persuaded to retire southwards with the royal treasures which Matthias had confided to him, whereupon an army immediately started in pursuit, scattered his forces, and robbed him of everything. Meanwhile, the diet had elected Vladislaus Jagiellon of Bohemia King (15 July 1490), to whom John hastened to do homage, in order to save something from the wreck of his fortunes. He was also recognized as duke of Slavonia and Opava, but compelled to relinquish both titles five years later. On the invasion of Hungary by Maximilian, he showed his loyalty to the crown by relinquishing into the hands of Vladislaus the three important fortresses in Pressburg (present day Bratislava in Slovakia), Komárom and Tata, which had been entrusted to him by his father. But now, encouraged by his complacency,