The Bavarian Army was the army of the Electorate (1682–1806) and then Kingdom (1806–1919) of Bavaria. It existed from 1682 as the standing army of Bavaria until the merger of the military sovereignty () of Bavaria into that of the German State in 1919. The Bavarian Army was never comparable to the armies of the Great Powers of the 19th century, but it did provide the Wittelsbach dynasty with sufficient scope of action, in the context of effective alliance politics, to transform Bavaria from a territorially-disjointed small state to the second-largest state of the German Empire after Prussia. History 1682–1790: From the first standing army to the Napoleonic Wars The of 1681 obliged Bavaria to provide troops for the Imperial army. Moreover, the establishment of a standing army was increasingly seen as a sign of nation-statehood and an important tool of absolutist power-politics. At a field camp in Schwabing on 12 October 1682, the newly recruited troops were officially taken into Bavarian service. Seven regiments of infantry, two regiments of dragoons and two of cuirassiers were set up, along with an artillery corps. The traditional mid-blue colour was already in wide use among the Bavarian infantry and would be used throughout from 1684. The cuirassiers and artillery wore light grey tunics, while the dragoons wore red or blue tunics. The army distinguished itself under Maximilian II Emanuel, Elector of Bavaria during the Great Turkish War, particularly during the Siege of Belgrade. During the War of the Spanish Succession, Bavaria fought on the side of France. Following defeat at the Battle of Blenheim, the Bavarian Army ceased to exist as a coherent fighting force, though small remainders continued to fight until the end of the war. Bavaria was occupied by Austrian forces after the war, which led to a rising of the people, bloodily put down at the so-called "Murderous Christmas of Sendling" (). By 1701, the composition of the army was the same as that during the Turkish wars, only now with three regiments each of cuirassiers and dragoons. The attempt by the Elector to gain the Imperial crown during the War of the Austrian Succession was initially successful, but the campaign ended once again with an Austrian occupation of Bavaria. At the beginning of the Seven Years' War, the army consisted of eight infantry, two dragoon and three cuirassier regiments, and a brigade of artillery. In 1757, one of