 For the next four centuries, the Kingdom of Croatia was ruled by the Sabor (parliament) and a ban (viceroy) appointed by the king.This period saw the rise of influential nobility such as the Frankopan and Šubić families to prominence, and ultimately numerous Bans from the two families.There was increasing threat of Ottoman conquest, and a struggle against the Republic of Venice for control of coastal areas.