When his chief minister Johan Göransson Gyllenstierna died in 1680, Charles appointed Oxenstierna President of the Court of Chancery, a position that traditionally controlled foreign policy. A contemporary observed their personalities were very different, describing Oxenstierna as 'sluggish and formal', but that both shared a passion for horses. They also shared a belief Sweden needed peace to restore its economy and society, a guiding principle followed for the 17 years.
