Franz Freiherr von Werneck, enlisted in the army of Habsburg Austria and fought in the Austro-Turkish War, the French Revolutionary Wars, and the Napoleonic Wars. He had a distinguished career until 1797, when he was dismissed for losing a battle, and reinstated in 1805. In that year he surrendered his command and was later brought up on charges. He died while awaiting a court-martial.