uprising in 1831. Large numbers of mosques were built all over the province. Most mosques erected during the Ottoman era were of relatively modest construction, often with a single minaret and central prayer hall with few adjoining foyers. The Austro-Hungarian era After the 1878 Congress of Berlin, Bosnia and Herzegovina came under the control of Austria-Hungary. In 1908, Austria-Hungary formally annexed the region. Unlike post-Reconquista Spain, the Austro-Hungarian authorities made no attempt to convert the citizens of this newly-acquired territory as the December Constitution guaranteed freedom of religion, and so Bosnia and Herzegovina remained Muslim. Bosnia, along with Albania and Kosovo were the only parts of the Ottoman Empire in the Balkans where large numbers of people were converted to Islam, and remained there after independence. In other areas of the former Ottoman Empire where Muslims formed the majority or started to form the majority, those Muslims were either expelled, assimilated/Christianized, massacred, or fled elsewhere (Muhajirs). The post-war period Many Islamic religious buildings were damaged or destroyed in the Bosnian War during the 90s, with up to 80% of well-over 4000 different buildings, and several mosques were rebuilt with the aid of funds from Saudi Arabia and other countries from the Middle and far East. Historically, Bosnian Muslims had always practiced a form of Islam that is strongly influenced by Sufism. Since the Bosnian War, however, some remnants of groups of foreign fighters from the Middle East fighting on the side of Bosnian Army, remained for some time and attempted to spread Wahhabism among locals. With very limited success these foreigners only created friction between local Muslim population, steeped in their own traditional practice of the faith, and without any previous contact with this strain in Islam, and themselves. Although these communities were relatively small and peaceful, restricted to a certain number of villages around central and northern Bosnia, the issue was highly politicized by local nationalists and officials, as well as officials and diplomats from countries like Croatia, Czech Republic and Serbia, to the point of outright fiction. Security Minister of Bosnia and Herzegovina at the time, Dragan Mektić of SDS, reacted strongly on such falsehoods by pointing on seriousness of such conspiratorial claims, and warned on possibility of further dangerous politicization and even acts of violence with an aim of labeling Bosnian Muslims as radicals. Demographics In the 2013 census the declared religious affiliation of the population was: