Answer
Before 1871, Prussia and the other German states did not have a significant navy. This was because Prussia's main focus was on land warfare, and the other German states were too small to have their own navies. However, after Prussia's victory in the Franco-Prussian War, it became clear that a strong navy was necessary to protect Germany's interests overseas.