Original sentence: According to an alternative history based on the document Pacta Conventa, which is most likely a forgery Hungary and Croatia created a personal union.There is no undoubtedley genuine document of the personal union, and medieval sources mention the annexation into the hungarian kingdom
Edited sentence: According to an alternative history based on the document Pacta Conventa, the validity of which is still disputed, in 1090 Ladislaus I (1077-95) occupied Slavonia, and in 1102 Coloman I (1095-1116) assumed control of Croatia which was then administered by a ban, or viceroy.After 10 years of war the two kingdoms united under the Hungarian king, either by the choice of the Croat nobility or by Hungarian force, in 1102.The precise terms of this relationship later became a matter of dispute; nonetheless, even under dynastic union with Hungary, institutions of separate Croatian statehood were maintained