In 1849, he became Secretary of War and commander-in-chief of the revolutionary republican government of Baden.
I 1849 blev han krigsminister og øverstkommanderende for den revolutionære, republikanske regering i Baden.