 His advisor Maximilian von und zu Trauttmansdorff suggested a great battle to end the war favourably.The emperor personally took part in the campaign against the Swedes, that ended with a defeat at the Battle of Jankau on March 6, 1645.The Swedish army under Lennart Torstensson then advanced to Vienna.