He served in the army during the War of Liberation against Napoleon I of France in 1814 , but he was not interested in the army .
He also gained military experience by serving in the army during the War of Liberation against Napoleon I of France in 1814 , though he was an indifferent soldier .