Kingdom of Croatia was a state in Europe . It lasted from 925 until 1102 when Croatia was conquered by Hungary . Kingdom of Croatia and Hungary was from 1102 , a personal union of two kingdoms , Kingdom of Croatia and Kingdom of Hungary , united under the Hungarian king .