The victory in the Franco-Prussian War and the consequent proclamation of William I, King of Prussia, as German Emperor spurred patriotism and incited several German composers to write patriotic music dedicated to the nation and the new empire.