On 25 June 1991, both Slovenia and Croatia declared independence, which led to a short armed conflict in Slovenia called the Ten-Day War, and an all-out war in Croatia in the Croatian War of Independence in areas with a substantial ethnic Serb population.