The Ten-Day War or the Slovenian Independence War , also the Weekend War was a civil war in Yugoslavia that followed the Slovenian declaration of independence on 25 June 1991. It was fought between the Slovenian Territorial Defence and the Yugoslav People's Army (YPA) in 1991, after Slovenia declared its independence. It lasted from 27 June 1991 until 7 July 1991, when the Brioni Accords were signed.