On June 9, 1999, the North Atlantic Treaty Organization (NATO) and the Federal Republic of Yugoslavia, signed the Kumanovo Treaty, ending the Kosovo War. The agreement also opened the way for the establishment of international security forces to maintain order in Kosovo and a UN protectorate over the region. The parliament of Kosovo subsequently declared independence in 2008.