Unanimously adopting resolution 1845 (2008), and acting under Chapter VII of the United Nations Charter, the Council also authorized the continued presence of a headquarters for the North Atlantic Treaty Organization (NATO), which led the multinational stabilization force (SFOR) that handed over peacekeeping responsibilities to EUFOR in 2004, and recognized the right of both organizations to take all necessary measures to defend themselves from attacks or threats.