The new King of Sweden Karl XII was appointed commander of the Helsinki Regiment in 1698 and, after the commencement of the Great Northern War on 12 March 1700, was promoted to Governor of Riga and lieutenant-general.