Kulin (; d. November 1204) was the Ban of Bosnia from 1180 to 1204, first as a vassal of the Byzantine Empire and then of the Kingdom of Hungary, although 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, Stephen Kulinić succeeded him as Bosnian Ban. Kulin founded the House of Kulinić. Early life Kulin's sister was married to Miroslav of Hum, the brother of Serbian Grand Prince Stefan Nemanja (r. 1166–1196). He belonged to the Bosnian nobility and was brought to the throne when the Byzantine Emperor Manuel I Komnenos (1143–1180) was the overlord of Bosnia. In 1180, when Komnenos died, Stefan Nemanja and Kulin asserted independence of Serbia and Bosnia, respectively. Reign His rule is often remembered as being emblematic of Bosnia's golden age, and he is a common hero of Bosnian national folk tales. Under him, the "Bosnian Age of Peace and Prosperity" would come to exist. Bosnia was completely autonomous and mostly at peace during his rule. War against Byzantium In 1183, Kulin Ban led his troops with the forces of the Kingdom of Hungary under King Béla and the Serbs under Stefan Nemanja, who had just launched an attack on the Byzantine Empire. The cause of the war was Hungary's non-recognition of the new emperor, Andronikos Komnenos. The united forces met little resistance in the eastern Serbian lands - the Byzantine squadrons were fighting among themselves as the local Byzantine commanders Alexios Brannes supported the new Emperor, while Andronikos Lapardes opposed him - and deserted the Imperial Army, going onto adventures on his own. Without difficulties, the Byzantines were pushed out of the Morava Valley and the allied forces breached all the way to Sofia, raiding Belgrade, Braničevo, Ravno, Niš and Sofia itself. Bogomils In 1199, Serbian prince Vukan Nemanjić informed the Pope, Innocent, of heresy in Bosnia. Vukan claimed that Kulin, a heretic, had welcomed the heretics whom Bernard of Split had banished, and treated them as Christians. In 1200, the Pope wrote a letter to Kulin's suzerain, the Hungarian King Emeric, warning him that “no small