He was despatched by Charles Emmanuel, Duke of Savoy, at the head of about 2000 men to aid the revolting Bohemians when war broke out in 1618. He took Pilsen, but in the summer of 1619 he was defeated at the Battle of Sablat; after this he offered his services to the Emperor Ferdinand II and remained inactive while the titular king of Bohemia, Frederick V, Elector Palatine of the Rhine, was driven in headlong rout from Prague. Mansfeld, however, was soon appointed by Frederick to command his army in Bohemia, and in 1621 he took up his position in the Upper Palatinate, successfully resisting the efforts made by Tilly to dislodge him.