Racek was appointed burgrave of by King Wenceslaus IV in 1403. Later that year, the town was razed by
Sigismund of Luxembourg. Racek initially retreated to
Talmberk after evacuating the town. Reportedly, only an elderly woman and a pig were left in Skalice. Fleeing the continuing threat of Sigismund, Racek sought refuge in
Rataje nad Sázavou, where he was received by
Hanuš of Lipá. In the service of King Wenceslaus, Racek helped wage a guerilla campaign against the
Rosenberg family. He acted with other men such as
Jan Žižka,
Jan Sokol of Lamberk, and
Matthew the Leader. In 1410, he was appointed burgrave of
Vyšehrad by Wenceslas. In the same year, Archbishop
Zbyněk Zajíc of Hazmburk threatened to declare
interdict over every scholar who refused to give up their writings of
John Wycliffe. After the evaluation, the books were deemed heretical and were burned at the archbishop's courtyard. King Wenceslaus IV ordered the archbishop and his subordinates to compensate the book owners. When they refused, the king tasked Racek and
Wok of Waldstein with confiscating their property. He was since hated by the Anti-Wycliffite faction of the clergy. In 1412, Wenceslaus permitted Racek to build his castle,
Veselé, near present-day
Chocerady. In 1415, he was mentioned as a patron of the Chocerady church. ==Death==