Franco-Prussian War

How did the Franco-Prussian war unify Germany?