First Louis successfully repulsed an attack of Charles IV against Tyrol in 1347. In alliance with Denmark and Pomerania, he then drove back a revolt in 1348 - 1350 caused by the conman "False Waldemar," an imposter who pretended to be Waldemar, Margrave of Brandenburg, claiming he had been declared dead erroneously while on a pilgrimage to the Holy Land. Probably a strawman of the Luxembourg emperor Charles IV, and/or the Anhalt and Saxon branches of the House of Ascania, he was invested with the margraviate between 1348 and 1350, and took on his position as a margrave with military support of Charles IV and the Ascanians. The Wittelsbachs were expelled from most of Brandenburg and only controlled the "Neumark" territory and some adjacent areas. Together with Denmark, the Pomeranian dukes sided with the Wittelsbachs, and the alliance had gained already ground in 1350 when the conflict ended With the Treaty of Bautzen (16 February): Louis finally came to terms with Charles IV, who re-invested the House of Wittelsbach with Brandenburg. The civil war caused a huge devastation in Brandenburg.