Ladislaus died in 1095, leaving his nephew Coloman to continue the campaign. Coloman, as well as Ladislaus before him, wasn't seen as a conqueror but rather as a pretender to the Croatian throne. Coloman assembled a large army to press his claim on the throne and in 1097 defeated King Petar's troops in the Battle of Gvozd Mountain, where the latter was killed. Since the Croatians didn't have a leader any more and Dalmatia had numerous fortified towns that would be difficult to defeat, negotiations started between Coloman and the Croatian feudal lords. It took several more years before the Croatian nobility recognised Coloman as the king. Coloman was crowned in Biograd in 1102 and the title now claimed by Coloman was "King of Hungary, Dalmatia, and Croatia". Some of the terms of his coronation are summarized in Pacta Conventa by which the Croatian nobles agreed to recognise Coloman as king. In return, the 12 Croatian nobles that signed the agreement retained their lands and properties and were granted exemption from tax or tributes. The nobles were to send at least ten armed horsemen each beyond the Drava River at the king's expense if his borders were attacked. Despite that Pacta Conventa is not an authentic document from 1102, there was almost certainly some kind of contract or agreement between the Croatian nobles and Coloman which regulated the relations in the same way.