Answer
The Franco-Prussian War was avoided by Charles XV's policy of neutrality. This conflict, fought between France and Prussia from 1870 to 1871, resulted in Prussia's decisive victory and the unification of Germany under Prussian leadership. By maintaining neutrality, Sweden, under the rule of Charles XV, was able to avoid direct involvement in the war and its potential consequences.