Passage: During the French Revolution and Napoleonic times, Horschbach lay within the Department of Mont-Tonnerre (or Donnersberg in German), whose seat was at Mainz, the Canton of Wolfstein and the Arrondissement of Kaiserslautern. After French rule ended and Napoleon met his ultimate political fate at Waterloo, the Congress of Vienna awarded a great swathe of territory in this region to the Kingdom of Bavaria, and by 1817, Horschbach found itself within this exclave, called the Bayerischer Rheinkreis (“Bavarian Rhine District”). More locally, it lay within the Landcommissariat (later Bezirksamt, later still Landkreis or district) of Kusel and the Canton of Wolfstein. Horschbach was also an administrative seat, home to the Bürgermeisterei (“mayoralty”) for the three Herrmannsberg municipalities of Horschbach, Elzweiler and Welchweiler, and from the beginning until 1838 also for Bedesbach, a village on the river Glan. Such was the uniting force of this arrangement that until 1853, the villages of Horschbach and Elzweiler were regarded as one village. In 1923, the warriors’ memorial for those who fell in the First World War was built. The following year, electric lighting was installed in Horschbach. At elections between 1920 and 1933 – in Weimar times – the strongest showings were among centre-right and rightwing parties, a common pattern in places with a strongly developed agricultural structure. Indeed, in the late 1920s and early 1930s, the Nazi Party (NSDAP) became quite popular in Horschbach. In the 1928 Reichstag elections, none of the local votes went to Adolf Hitler’s party, but by the 1930 Reichstag elections, this had grown to 23.9%. By the time of the 1933 Reichstag elections, after Hitler had already seized power, local support for the Nazis had swollen to 92.5%. Hitler’s success in these elections paved the way for his Enabling Act of 1933 (Ermächtigungsgesetz), thus starting the Third Reich in earnest. It was not until 1949 that the first tractor, owned by a man named Ernst Mäurer, made its appearance in Horschbach. Bavarian times ended with the Allied occupation after the Second World War and the region became part of the then newly founded state of Rhineland-Palatinate. The Bürgermeisterei of Horschbach, however, remained in force until 1968, when there was sweeping administrative restructuring in Rhineland-Palatinate. Horschbach then lost its administrative function, and since 1972 it has been an Ortsgemeinde within the Verbandsgemeinde of Altenglan. In 1956, a third schoolhouse was built. Like the first one, it is now used as a house. In 1968, 23 years after the war ended, the warriors’ memorial for those who fell in the Second World War was built. That same year, the church got a new organ. In a turnaround from what was the pattern in Weimar times, left-leaning parties now do somewhat better in local elections, if not as strongly as in the other Herrmannsberg municipalities of Elzweiler and Welchweiler. In 1972, the “Mühlgärten und Steinbach” building plan was set forth. In 1973, Horschbach came in second at the district level in the contest Unser Dorf soll schöner werden (“Our village should become lovelier”), and the renovated church (new pews and heating) became ready for use. Modern sewerage was laid in 1975. In 1976 came the last day of school. The local primary school was closed on 28 July, as the ones in Elzweiler (27 June 1973) and Welchweiler (30 November 1966) already had been. The schoolchildren thereafter had to go to school in Rammelsbach. Another building plan was set forth in 1998, “Am Hofacker”. A linking street was built to the site the following year. In 2009, a photovoltaic array was installed on the former schoolhouse's roof.
 Link Information: With Austria's defeat in the Austro-Prussian War, the northern German states quickly unified into the North German Confederation, with the Prussian king leading the state. Bavaria's previous inhibitions towards Prussia changed, along with those of many of the south German states, after French emperor Napoleon III began speaking of France's need for "compensation" from its loss in 1814 and included Bavarian-held Palatinate as part of its territorial claims. Ludwig II joined an alliance with Prussia in 1870  Answer: 53
Output: How long did the Kingdom of Bavaria remain independent after the Congress of Vienna?