War of the Third Coalition
When Napoleon Bonaparte started to expand eastwards in the Napoleonic Wars, the Swedish Empire initially maintained a neutral stance. In 1805, Gustav IV Adolf of Sweden entered the War of the Third Coalition on the anti-French side, primarily to strip Napoleon's ally Denmark of Norway. His Norwegian ambitions were thwarted by several military and diplomatic setbacks.