 Croatia was governed by the viceregal ban as a whole from 1102 until 1225, when it was split into two separate regions of Slavonia and Croatia.Two different bans were occasionally appointed until 1476, when the institution of a single ban was resumed.Most bans were native nobles but some were also of Hungarian ancestry.