 After the death of Keglević's son-in-law Caspar Ernuszt, he assumed ownership of his possessions in Međimurje.In 1542, he was sentenced as an infidel by the Diet in Pressburg, because of his special agreement with the Ottoman Empire and because of the unlawful ownership of Međimurje.Emperor Ferdinand removed him from his position as ban and confiscated his properties in 1542 (see also