Vilém II of Pernštejn ( or Wilhelm II. von Bernstein, or Vilém z Pernštejna a na Helfštejně; 1438 – 8 April 1521) was a Czech nobleman. He held the office of High Treasurer of Moravia from 1474 to 1487. He was High Marshall of Bohemia from 1483 to 1490 and Lord Chamberlain of Bohemia from 1490 to 1514. Youth Vilém was one of the most important members of the Moravian and Bohemian noble family of Pernštejn. His parents were Jan II of Pernštejn and his second wife Bohunka of Lomnice. Vilém spent his early years at the Viennese court of the two years younger Ladislaus Posthumus, a member of the Habsburg family, to whose entourage he belonged. Together with Ladislaus and his guardian Frederick III and other Bohemian and Moravian nobles, he traveled to Italy in 1451. In 1452 he was in Rome at the wedding of Frederick III with Eleanor of Portugal. Rise under the kings George of Poděbrady and Matthias Corvinus Like his father and his older brother Zikmund, Vilém supported the Bohemian King George of Poděbrady. After George's death in 1471, they stood politically on the side of the newly elected king Vladislav II In 1472, they vouched for by George of Poděbrady's son Victor of Münsterberg-Oels, who was to be bought free from being held captive by the Hungarian king Matthias Corvinus for . That same year they received from King Vladislav II more rights over the convents in Oslavany and Tišnov. Vilém and his father were, however, unable to buy the freedom of his brother Sigmund, who was also held captive by Matthias Corvinus since 1470. Matthias Corvinus did not ask a ransom for Sigmund's release; instead he asked Vilém to defect to Matthias's side and support his military plans. Vilém signed an agreement to this effect, in order to obtain the Sigmund's release, on 14 November 1472 in Sopron. The agreement had been drafted by John Filipec, who later became Bishop of Olomouc. He probably agreed to convert to Catholicism at the same timet. Around New Year 1473, Vilém's army occupied the towns of Kolín and Nymburk. In the summer he fought for Corvinus in Austria and Poland, where he was taken prisoner. Vilém resided in Velké Meziříčí until 1473, and called himself Vilém of Pernštejn and Meziříčí. In 1474 he acquired the Castle and Lordship of Helfštýn. From 1474 until his death, he