During the Bosnian War, the city was held by Bosnian Serb forces. The Croatian Army captured the city in July 1995, during Operation Summer '95. The offensive displaced a large number of Serb refugees. After the war, the Serb civilians returned, and today they constitute the majority of population in the municipality. However, nowadays the population is much smaller, having declined from 9,000 to about 2,500.