Hungary, on the other hand, defeated the last Croat king in 1097 and laid claim on all lands of the Croatian noblemen since the treaty of 1102. King Coloman of Hungary proceeded to conquer Dalmatia in 1102-1105.