Yugoslavia disintegrated in the early 1990s, and a series of wars resulted in the creation of five new states. The heaviest fighting occurred in Croatia and Bosnia and Herzegovina, whose Serb populations rebelled and sought unification with Serbia, which was then still part of the Federal Republic of Yugoslavia. The war in Croatia ended in August 1995, with a Croatian military offensive known as Operation Storm crushing the Croatian Serb rebellion and causing as many as 200,000 Serbs to flee the country. The Bosnian War ended that same year, with the Dayton Agreement dividing the country along ethnic lines. In 1998–99, a conflict in Kosovo between the Yugoslav Army and Albanians seeking independence erupted into full-out war, resulting in a 78-day-long NATO bombing campaign which effectively drove Yugoslav security forces from Kosovo. Subsequently, more than 200,000 Serbs and other non-Albanians fled the province. On 5 October 2000, Yugoslav President Slobodan Milosević was overthrown in a bloodless revolt after he refused to admit defeat in the 2000 Yugoslav general election.