He went to Vienna and in 1809 was appointed imperial court secretary at the headquarters of the archduke Charles, Duke of Teschen and was stationed in Pest, during the War of the Fifth Coalition; there he studied the Hungarian language.
He went to Vienna and in 1809 was appointed imperial court secretary at the headquarters of the archduke Charles, Duke of Teschen. He was stationed in Pest. This was during the War of the Fifth Coalition. There he studied the Hungarian language.