under Konung Karl XIV Johans regering.