z ant ium ▁at ▁the ▁time . ▁The ▁local ▁population ▁resist ed ▁the ▁p act ▁and , ▁taking ▁advantage ▁of ▁its ▁al liance ▁with ▁Dub rov nik , ▁maintained ▁its ▁high ▁aut onomy . ▁During ▁this ▁time , ▁the ▁small ▁roman ized ▁Il ly rian ▁population ▁of ▁Kot or ▁was ▁slowly ▁assim il ated ▁by ▁a ▁significant ▁S lav ▁population ▁coming ▁from ▁neighbor ing ▁areas . ▁D uk l ja , ▁the ▁biggest ▁Ser b ▁du chy ▁at ▁the ▁time , ▁gradually ▁became ▁more ▁powerful ▁under ▁V oj is lav l je vić ▁dynast y ▁and ▁eventually ▁independent ▁from ▁By z ant ium ▁in ▁ 1 0 4 2 . ▁The ▁city ▁remained ▁autonom ous ▁up ▁until ▁D uk l ja ▁was ▁once ▁again ▁sub du ed ▁by ▁By z ant ium ▁in ▁ 1 1 4 3 . ▁ ▁The ▁city ▁was ▁conquer ed ▁in ▁ 1 1 8 5 ▁by ▁Stefan ▁N eman ja , ▁the ▁r uler ▁of ▁the ▁Grand ▁Princi p ality ▁of ▁Ser bia ▁and ▁founder ▁of ▁the ▁N eman ji ć ▁dynast y . ▁At ▁that ▁time ▁Kot or ▁was ▁already ▁an ▁epis cop al ▁see ▁sub ordin ated ▁to ▁the ▁arch bishop ric ▁of ▁B ari , ▁and ▁in ▁ 1 3 th ▁century , ▁Domin ican ▁and ▁Francis can ▁monaster ies ▁were ▁established ▁to ▁check ▁the ▁spread ▁of ▁Bog om il ism ▁. ▁Under ▁the ▁rule ▁of ▁the ▁N eman ji ć ▁Kot or ▁became ▁a ▁partially ▁autonom ous ▁city , ▁enjo ying ▁many ▁privileges