under Gustaf IV Adolfs Regering.