The city of Travnik, located in central Bosnia, served as an administrative center of the Ottoman province between 1699 and 1851, with only short interruptions. In 1878, the Congress of Berlin awarded the Austro-Hungarian Monarchy rights of occupation for this Ottoman province. The following year, the new administration already faced its first big fire, which wiped out a major part of downtown Sarajevo. A new building code, which tried to minimize future hazard risks and was soon valid for all of Bosnia, was established in 1880.In September 1903, two major fires hit Travnik. The Ottoman administrative building used by the new officials was already fire-improved, so it survived the fires without sustaining any serious damage. The same cannot be said for the traditional residential neighborhoods at the foot of Travnik castle, which burnt down to their foundations. The mosques in Travnik that were constructed mostly of wood were damaged severely. Austro-Hungarian administration officials identified the traditional way of building as a serious risk for all of Bosnia and tried to counterbalance by implementing the new regulations rigidly in their post-fire reconstruction program. They seem to have developed a more secure 'mosque building model type', which they implemented in the re-erection of the Lončarica, Zulići, Kahvica and Šumećka mosques. While rebuilding the Varoška and Lukačka mosques, the distinct 'official' style of , a blend of various architectural elements associated with 'the Orient' that the literature tends to name 'pseudo-Moorish', was used.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.