The second however also takes into account the town's population, but it also includes all of the other settlements as well. The previous censuses were taken during the period of SFR Yugoslavia, prior to the 1992-95 War, which would engulf the region. Like many other areas in the country the war drastically changed the composition of Derventa's population.