Austro-Prussian War
In 1867 Hamelin became part of the Kingdom of Prussia, which annexed Hanover in the aftermath of the Austro-Prussian War of 1866.