Wilhelm I became the first Emperor of a united Germany in 1871
Wilhelm I was the King of Prussia from 1861 and the first German Emperor from 1871 until his death in 1888. Under his rule, the Kingdom of Prussia used its military power to unite the separate German states into the German Empire.
Before 1871, Germany was not one nation. It was a loose collection of 39 states, such as Bavaria, Saxony, and Prussia. The two largest states, Prussia and Austria, competed to lead the others. Wilhelm was a traditional monarch from the House of Hohenzollern, Prussia's royal family. He believed that a king had a duty to rule with a strong army, and he cared more about Prussia than about a united Germany.
Wilhelm was not a clever politician, and he knew his limits. His greatest strength was that he chose capable men and kept them in power. In 1862, he appointed Otto von Bismarck as the Minister President, the head of the Prussian government.
Wilhelm and Bismarck did not always agree. Wilhelm was a polite, cautious gentleman who did not want to fight other monarchs unless it was necessary. Bismarck was a tough diplomat who used war to increase Prussia's power. Even when they argued, Wilhelm trusted Bismarck and gave him the royal authority he needed to defeat Prussia's rivals and unite Germany under Prussian control.
Fact-checked against Wilhelm I on Wikipedia
Part of the History syllabus: High Imperialism and Nation-States
See it on the timeline of High Imperialism and Nation-States