As governor, Hunyadi was authorized to exercise most royal prerogatives for the period of King Ladislaus V's minority. For instance, he could make land grants, but only up to the size of 32 peasant holdings. Hunyadi attempted to pacify the border regions. Soon after his election, he launched an unsuccessful campaign against Ulrich II, Count of Celje. Count Ulrich administered Slavonia with the title ban (which he had arbitrarily adopted) and refused to renounce of it in favor of Hunyadi's appointee. Hunyadi could not force him to submit.