During the Croatian War of Independence (1991–1995), Dvor was within the breakaway Republic of Serbian Krajina, but following Operation Storm in 1995 the municipality returned to Croatian control. Most of Serbian population was evacuated from Dvor during the Operation Storm of which some had returned.