Answer
The answer is Carl XIII. After the assassination of his nephew, Gustav III, in 1792, Carl, Duke of Södermanland, ascended the Swedish throne as Carl XIII. His reign marked a period of relative peace and stability for Sweden, with the country aligning itself with France in the Napoleonic Wars and later joining the coalition against Napoleon.