Wejher accompanied the King in his campaign to crush the rebellion of Duke Charles in Sweden. He fought in the victorious Battle of Stegeborg and was wounded in the Battle of Stångebro. He helped defend Gdańsk from the Swedes in their raids in the early 17th century. From 1609 he was engaged in the Polish–Muscovite War.