Pacta conventa (Lat.agreed accords) was an alleged agreement concluded between King Coloman of Hungary and the Croatian nobility. While some claim it was a voluntary union of the two crowns, leaving Croatia as a sovereign state, others argue that Hungary simply annexed Croatia outright and forced an agreement. Some Croatian historians claim it was concluded in 1102, but most historians think it's a forgery from centuries later. A version from the 14th century is preserved in the Hungarian National Museum in Budapest.Eduard Hercigonja, Tropismena i trojezična kultura hrvatskoga srednjovjekovlja, Matica hrvatska, Zagreb, 2006. ISBN 953-150-766-X
After Petar Svačić, the last Croatian king of Croat descent, was killed on the battlefield in 1097, the Croats had refused to surrender. To end the war, an agreement was made where, probably in 1102, the Croatian nobles allegedly concluded the Pacta conventa with King Coloman before his crowning as the Croatian king in Biograd.