During the Hungarian Civil War (1526–1538) he joined the league of Ferdinand I who appointed him castellan of Buda, together with Tamás Nádasdy.