As a result of these actions, on 27 June 1991 the Yugoslav People's Army attacked; its top commanders citing the constitutional obligation to defend the sovereignty and territorial integrity of Yugoslavia. Yugoslav forces attacked the Slovene units on the border and in all other areas under Slovene control. The Slovenian Territorial Defence blockaded all ten Yugoslav bases in Slovenia and kept them under siege in a Ten-Day War which ended on 6 July 1991. Yugoslav forces suffered 44 killed and 146 wounded, with many Yugoslav officers wounded or captured. After the Brioni Agreement was signed, the Yugoslav People's Army agreed to withdraw from Slovenia by 10 October 1991, leaving numerous tanks, rifles, trucks and other equipment.