Kulin was the Ban of Bosnia from 1180 to 1204, first as a vassal of the Byzantine Empire and then of the Kingdom of Hungary, but his state was de facto independent. He was one of Bosnia's most prominent and notable historic rulers and had a great effect on the development of early Bosnian history. One of his most noteworthy diplomatic achievements is widely considered to have been the signing of the Charter of Ban Kulin, which encouraged trade and established peaceful relations between Dubrovnik and his realm of Bosnia. His son, Stjepan Kulinić succeeded him as Bosnian Ban. Kulin founded the House of Kulinić.