Macedonia remained at peace through the Yugoslav Wars of the early 1990s. A few very minor changes to its border with Yugoslavia were agreed upon to resolve problems with the demarcation line between the two countries. It was seriously destabilised by the Kosovo War in 1999, when an estimated 360,000 ethnic Albanian refugees from Kosovo took refuge in the country. They departed shortly after the war, and Albanian nationalists on both sides of the border took up arms soon after in pursuit of autonomy or independence for the Albanian-populated areas of Macedonia.