 He shared in the defeat at the Battle of Blenheim, near Höchstädt, on 13 August 1704; his dominions were temporarily partitioned between Austria and the elector palatine by the Treaty of Ilbersheim, and only restored to him, harried and exhausted, at the Treaty of Baden in 1714; the first Bavarian peasant insurrection, known as the "Bloody Christmas of Sendling", having been crushed by the Austrian occupators in 1706.Untaught by Maximilian II Emmanuel's experience, his son, Charles Albert (1726–1745), devoted all his energies to increasing the European prestige and power of his house.The death of the emperor Charles VI proved his opportunity