In 1656 he arranged a coalition with Sweden, and commanded the cavalry in the Battle of Warsaw (1656) against Poland. He was dismissed in 1658 when Frederick William, Elector of Brandenburg made peace with Poland.