The current name was officially adopted in 1918 after the fall of the Austria-Hungary, but was in use from the Middle Ages. It is also referred to as Dubrovnik in the first official document of the treaty with the Ban Kulin, the Ban of Bosnia in 1189. The name Dubrovnik was used by Slavonic speakers who also presented the majority in the city. Aristocrats were using Latin and the Dubrovnik dialect of the Romance Dalmatian language as official languages and they also named town (and republic) Ragusa.