From 1814, when Norway won independence, Mansbach served Norway—his country of birth. He became a member of the General Staff, and was promoted to captain on 22 May 1814. After a hiatus between October 1814 and January 1815, he became major in September 1815 and lieutenant colonel in September 1821. He served as leader of the Norwegian Military Academy from August 1822 to June 1828. He advanced to colonel in July 1823, major general in June 1828 and lieutenant general in January 1839. He was the commander of Bergenhus Fortress from 1828 to 1838, and then commander at Fredriksten Fortress.[1]
On 30 December 1847, Mansbach became a diplomat, as he was assigned as Swedish-Norwegian ambassador to The Hague. From 1851 to 1855 he was stationed in Vienna, and from 1855 to 1858 in Berlin and Dresden. In 1858 he retired to his family manor in Mansbach, Hesse, where he died in July 1867.[1]