The retaliation by Austria-Hungary against Serbia activated a series of military alliances that set off a chain reaction of war declarations across the continent, leading to the outbreak of World War I within a month.