Yugoslavia was created after World War 1 but broke up in the early 1990s as nationalist sentiments rose. Bosnia declared independence in 1992, but Bosnian Serbs rebelled in hopes of remaining in Yugoslavia and war broke out as the ethnic groups fought for control. During the war, Bosnian Serbs, though not the majority, had better equipment from Serbia and committed atrocities including genocide against Bosnian Muslims and Croats, eventually taking over much of the country. The UN intervened in 1994 to support Bosnia through airpower and peacekeeping troops.