Question: When did the unification of Italy and the modern country where Louis the German's lands were located reach completion?

full_context: Document 1: Middle Ages: Depopulation, deurbanisation, invasion, and movement of peoples, which had begun in Late Antiquity, continued in the Early Middle Ages. The barbarian invaders, including various Germanic peoples, formed new kingdoms in what remained of the Western Roman Empire. In the 7th century, North Africa and the Middle East—once part of the Eastern Roman Empire—came under the rule of the Caliphate, an Islamic empire, after conquest by Muhammad's successors. Although there were substantial changes in society and political structures, the break with Antiquity was not complete. The still-sizeable Byzantine Empire survived in the east and remained a major power. The empire's law code, the Code of Justinian, was rediscovered in Northern Italy in 1070 and became widely admired later in the Middle Ages. In the West, most kingdoms incorporated the few extant Roman institutions. Monasteries were founded as campaigns to Christianise pagan Europe continued. The Franks, under the Carolingian dynasty, briefly established the Carolingian Empire during the later 8th and early 9th century. It covered much of Western Europe, but later succumbed to the pressures of internal civil wars combined with external invasions—Vikings from the north, Magyars from the east, and Saracens from the south.
Document 2: Germans: In 1870, after France attacked Prussia, Prussia and its new allies in Southern Germany (among them Bavaria) were victorious in the Franco-Prussian War. It created the German Empire in 1871 as a German nation-state, effectively excluding the multi-ethnic Austrian Habsburg monarchy and Liechtenstein. Integrating the Austrians nevertheless remained a strong desire for many people of Germany and Austria, especially among the liberals, the social democrats and also the Catholics who were a minority within the Protestant Germany.
Document 3: William I, German Emperor: William I, ( ; 22 March 1797 – 9 March 1888) of the House of Hohenzollern, was King of Prussia from 2 January 1861 and the first German Emperor from 18 January 1871 to his death, the first Head of State of a united Germany. Under the leadership of William and his Minister President Otto von Bismarck, Prussia achieved the unification of Germany and the establishment of the German Empire. Despite his long support of Bismarck as Minister President, William held strong reservations about some of Bismarck's more reactionary policies, including his anti-Catholicism and tough handling of subordinates. In contrast to the domineering Bismarck, William was described as polite, gentlemanly and, while staunchly conservative, more open to certain classical liberal ideas than his grandson Wilhelm II.
Document 4: Rhine: By the 6th century, the Rhine was within the borders of Francia. In the 9th, it formed part of the border between Middle and Western Francia, but in the 10th century, it was fully within the Holy Roman Empire, flowing through Swabia, Franconia and Lower Lorraine. The mouths of the Rhine, in the county of Holland, fell to the Burgundian Netherlands in the 15th century; Holland remained contentious territory throughout the European wars of religion and the eventual collapse of the Holy Roman Empire, when the length of the Rhine fell to the First French Empire and its client states. The Alsace on the left banks of the Upper Rhine was sold to Burgundy by Archduke Sigismund of Austria in 1469 and eventually fell to France in the Thirty Years' War. The numerous historic castles in Rhineland-Palatinate attest to the importance of the river as a commercial route.
Document 5: Territorial evolution of Germany: The territorial changes of Germany include all changes in the borders and territory of Germany from its formation in 1871 to the present. Modern Germany was formed in 1871 when Otto von Bismarck unified most of the German states, with the notable exception of Austria, into the German Empire. After the First World War, Germany lost about 10% of its territory to its neighbours and the Weimar Republic was formed. This republic included territories to the east of today's German borders.
Document 6: Middle Ages: A three-year civil war followed his death. By the Treaty of Verdun (843), a kingdom between the Rhine and Rhone rivers was created for Lothair to go with his lands in Italy, and his imperial title was recognised. Louis the German was in control of Bavaria and the eastern lands in modern-day Germany. Charles the Bald received the western Frankish lands, comprising most of modern-day France. Charlemagne's grandsons and great-grandsons divided their kingdoms between their descendants, eventually causing all internal cohesion to be lost.[N] In 987 the Carolingian dynasty was replaced in the western lands, with the crowning of Hugh Capet (r. 987–996) as king.[O][P] In the eastern lands the dynasty had died out earlier, in 911, with the death of Louis the Child, and the selection of the unrelated Conrad I (r. 911–918) as king.
Document 7: Normans: In the course of the 10th century, the initially destructive incursions of Norse war bands into the rivers of France evolved into more permanent encampments that included local women and personal property. The Duchy of Normandy, which began in 911 as a fiefdom, was established by the treaty of Saint-Clair-sur-Epte between King Charles III of West Francia and the famed Viking ruler Rollo, and was situated in the former Frankish kingdom of Neustria. The treaty offered Rollo and his men the French lands between the river Epte and the Atlantic coast in exchange for their protection against further Viking incursions. The area corresponded to the northern part of present-day Upper Normandy down to the river Seine, but the Duchy would eventually extend west beyond the Seine. The territory was roughly equivalent to the old province of Rouen, and reproduced the Roman administrative structure of Gallia Lugdunensis II (part of the former Gallia Lugdunensis).
Document 8: William I, German Emperor: William I, or in German Wilhelm I. (full name: William Frederick Louis of Hohenzollern, German: Wilhelm Friedrich Ludwig von Hohenzollern, 22 March 1797 -- 9 March 1888), of the House of Hohenzollern was King of Prussia from 2 January 1861 and the first German Emperor from 18 January 1871 to his death, the first Head of State of a united Germany. Under the leadership of William and his Minister President Otto von Bismarck, Prussia achieved the unification of Germany and the establishment of the German Empire. Despite his long support of Bismarck as Minister President, William held strong reservations about some of Bismarck's more reactionary policies, including his anti-Catholicism and tough handling of subordinates. In contrast to the domineering Bismarck, William was described as polite, gentlemanly and, while a staunch conservative, more open to certain classical liberal ideas than his grandson Wilhelm II.
Document 9: Middle Ages: In modern-day Germany, the Holy Roman Empire continued to rule, but the elective nature of the imperial crown meant there was no enduring dynasty around which a strong state could form. Further east, the kingdoms of Poland, Hungary, and Bohemia grew powerful. In Iberia, the Christian kingdoms continued to gain land from the Muslim kingdoms of the peninsula; Portugal concentrated on expanding overseas during the 15th century, while the other kingdoms were riven by difficulties over royal succession and other concerns. After losing the Hundred Years' War, England went on to suffer a long civil war known as the Wars of the Roses, which lasted into the 1490s and only ended when Henry Tudor (r. 1485–1509 as Henry VII) became king and consolidated power with his victory over Richard III (r. 1483–85) at Bosworth in 1485. In Scandinavia, Margaret I of Denmark (r. in Denmark 1387–1412) consolidated Norway, Denmark, and Sweden in the Union of Kalmar, which continued until 1523. The major power around the Baltic Sea was the Hanseatic League, a commercial confederation of city states that traded from Western Europe to Russia. Scotland emerged from English domination under Robert the Bruce (r. 1306–29), who secured papal recognition of his kingship in 1328.
Document 10: Unification of Germany: The unification of Germany into a politically and administratively integrated nation state officially occurred on 18 January 1871, in the Hall of Mirrors at the Palace of Versailles in France. Princes of the German states, excluding Austria, gathered there to proclaim Wilhelm I of Prussia as German Emperor after the French capitulation in the Franco - Prussian War. Unofficially, the de facto transition of most of the German - speaking populations into a federated organization of states had been developing for some time through alliances formal and informal between princely rulers -- but in fits and starts; self - interests of the various parties hampered the process over nearly a century of autocratic experimentation, beginning in the era of the Napoleonic Wars, which saw the dissolution of the Holy Roman Empire of the German Nation (1806), and the subsequent rise of German nationalism.
Document 11: Unification of Germany: Historians debate whether Otto von Bismarck -- Minister President of Prussia -- had a master plan to expand the North German Confederation of 1866 to include the remaining independent German states into a single entity or simply to expand the power of the Kingdom of Prussia. They conclude that factors in addition to the strength of Bismarck's Realpolitik led a collection of early modern polities to reorganize political, economic, military, and diplomatic relationships in the 19th century. Reaction to Danish and French nationalism provided foci for expressions of German unity. Military successes -- especially those of Prussia -- in three regional wars generated enthusiasm and pride that politicians could harness to promote unification. This experience echoed the memory of mutual accomplishment in the Napoleonic Wars, particularly in the War of Liberation of 1813 -- 14. By establishing a Germany without Austria, the political and administrative unification in 1871 at least temporarily solved the problem of dualism.
Document 12: Middle Ages: Charlemagne planned to continue the Frankish tradition of dividing his kingdom between all his heirs, but was unable to do so as only one son, Louis the Pious (r. 814–840), was still alive by 813. Just before Charlemagne died in 814, he crowned Louis as his successor. Louis's reign of 26 years was marked by numerous divisions of the empire among his sons and, after 829, civil wars between various alliances of father and sons over the control of various parts of the empire. Eventually, Louis recognised his eldest son Lothair I (d. 855) as emperor and gave him Italy. Louis divided the rest of the empire between Lothair and Charles the Bald (d. 877), his youngest son. Lothair took East Francia, comprising both banks of the Rhine and eastwards, leaving Charles West Francia with the empire to the west of the Rhineland and the Alps. Louis the German (d. 876), the middle child, who had been rebellious to the last, was allowed to keep Bavaria under the suzerainty of his elder brother. The division was disputed. Pepin II of Aquitaine (d. after 864), the emperor's grandson, rebelled in a contest for Aquitaine, while Louis the German tried to annex all of East Francia. Louis the Pious died in 840, with the empire still in chaos.
Document 13: Middle Ages: During the early High Middle Ages, Germany was ruled by the Ottonian dynasty, which struggled to control the powerful dukes ruling over territorial duchies tracing back to the Migration period. In 1024, they were replaced by the Salian dynasty, who famously clashed with the papacy under Emperor Henry IV (r. 1084–1105) over church appointments as part of the Investiture Controversy. His successors continued to struggle against the papacy as well as the German nobility. A period of instability followed the death of Emperor Henry V (r. 1111–25), who died without heirs, until Frederick I Barbarossa (r. 1155–90) took the imperial throne. Although he ruled effectively, the basic problems remained, and his successors continued to struggle into the 13th century. Barbarossa's grandson Frederick II (r. 1220–1250), who was also heir to the throne of Sicily through his mother, clashed repeatedly with the papacy. His court was famous for its scholars and he was often accused of heresy. He and his successors faced many difficulties, including the invasion of the Mongols into Europe in the mid-13th century. Mongols first shattered the Kievan Rus' principalities and then invaded Eastern Europe in 1241, 1259, and 1287.
Document 14: Germans: The Napoleonic Wars were the cause of the final dissolution of the Holy Roman Empire, and ultimately the cause for the quest for a German nation state in 19th-century German nationalism. After the Congress of Vienna, Austria and Prussia emerged as two competitors. Austria, trying to remain the dominant power in Central Europe, led the way in the terms of the Congress of Vienna. The Congress of Vienna was essentially conservative, assuring that little would change in Europe and preventing Germany from uniting. These terms came to a sudden halt following the Revolutions of 1848 and the Crimean War in 1856, paving the way for German unification in the 1860s. By the 1820s, large numbers of Jewish German women had intermarried with Christian German men and had converted to Christianity. Jewish German Eduard Lasker was a prominent German nationalist figure who promoted the unification of Germany in the mid-19th century.
Document 15: Military history of France: Under Charlemagne the Franks reached the height of their power. After campaigns against Lombards, Avars, Saxons, and Basques, the resulting Carolingian Empire stretched from the Pyrenees to Central Germany, from the North Sea to the Adriatic. In 800 the Pope made Charlemagne Emperor of the West in return for protection of the Church. The Carolingian Empire was a conscious effort to recreate a central administration modeled on that of the Roman Empire,[13] but the motivations behind military expansion differed. Charlemagne hoped to provide his nobles an incentive to fight by encouraging looting on campaign. Plunder and spoils of war were stronger temptations than imperial expansion, and several regions were invaded over and over in order to bolster the coffers of Frankish nobility.[14] Cavalry dominated the battlefields, and while the high costs associated with equipping horses and horse-riders helped limit their numbers, Carolingian armies maintained an average size of 20,000 by recruiting infantry from imperial territories near theaters of operation.[15] The Empire lasted from 800 to 843, when, following Frankish tradition, it was split between the sons of Louis the Pious by the Treaty of Verdun.
ground_truth: 18 January 1871
sub_queries: In what modern country were Louis the German's lands? Answer: Germany
when was the unification of Germany and italy completed Answer: 18 January 1871