However, kingship over all of Croatia would not be achieved until the reign of his successor Coloman. With the coronation of King Coloman as "King of Croatia and Dalmatia" in Biograd in 1102, the two kingdoms of Croatia and Hungary were united under one crown. Although the precise terms of this relationship became a matter of dispute in the 19th century, it is believed that Coloman created a kind of personal union between the two kingdoms. The nature of the relationship varied through time, Croatia retained a large degree of internal autonomy overall, while the real power rested in the hands of the local nobility. Modern Croatian and Hungarian historiographies mostly view the relations between Kingdom of Croatia (1102–1526) and Kingdom of Hungary from 1102 as a form of a personal union, i.e. that they were connected by a common king. Also, one of the greatest Hungarian jurists and statesmen of the 16th century, István Werbőczy in his work "Tripartitum" treats Croatia as a kingdom separate to Hungary.