The film is set in mid16th century at a time when the entire eastern Mediterranean is dominated by two great empires the Ottoman Empire and the Republic of Venice with the small but wealthy maritime republic of Ragusa modernday Dubrovnik managing to maintain its independence through diplomatic agreements