It is also known that Vitez was part of Bosnia until the decay of Bosnia when Ottoman Empire occupied this region. This was the period in Vitez got its name. It is known that the first settlement in nowadays urban area was formed around the mosque, built in 1590. Knowing that mosques are being erected in urban areas, it is logical to say that this settlement existed even before. Vitez is mentioned once again during an uprising against Turks led by Husein Gradaščević, when he defeated Turkish Army at Kosovo, after which he was named for Bosnian de facto ruler (Vezir). According to the Austrian officer "Božića" (1785), Vitez had 18 houses, mosque and Motel (Han).