But one of the City-states, Ragusium (or Ragusa) was dominated by Venice only for a few decades in the eleventh century and later created the famous "Repubblica di Ragusa". This was an autonomous state under the protection of the Ottoman empire, and lasted until the conquest by Napoleon in 1804 AD when was united to the Napoleonic kingdom of Italy.