 The period saw increasing threat of Ottoman conquest and struggle against the Republic of Venice for control of coastal areas.The Venetians gained control over most of Dalmatia by 1428.With exception of the city-state of Dubrovnik which became independent, the rule of Venice on most of Dalmatia will last nearly four centuries (c. 1420 – 1797).