On 13 January he became a member of the new War Council and participated in the defence of the Copenhagen during the siege and was at the king's side during the Assault on Copenhagen on 11 February 1659. The following year he took part in the negotiations which led to the Treaty of Copenhagen. From 1661 to 1670 he was a justice in the new Supreme Court.