In June 1866, the German Kingdom of Prussia declared war on the Austrian Empire. The recently formed Kingdom of Italy decided to seize the opportunity and allied with Prussia with the intention of annexing Venetia and thus uniting the Italian Peninsula. The Italians rapidly built up a military force that was twice the size of their Austrian counterparts defending Venetia.
