How was Germany founded?

it was founded when there was a war in 1869 which lasted 2 years and they declared it to be their land