Original sentence: According to Encarta a disputed succession to the throne following the reigns of Kresimir IV (1058-1074) and Zvonimir (1075-1089) led to an invasion by Hungary.According to Frederick Bernard Singleton in the eyes of Croatians Croatia was a separate state which happened to share a ruler with the Hungarians.From then until 1918 kings of Hungary were also kings of Croatia, represented by a governor (ban), but Croatia kept its own parliament (Sabor) and considerable autonomy.The two kingdoms united under the Hungarian king, either by the choice of the Croat nobility or by Hungarian force, in 1102.and according to Daniel Power Croatia became part of Hungary in the late 11th and early twelfth century
Edited sentence: 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