Louis Frederick was a general in the cavalry. He was briefly a high ranking commander the Army of the Polish-Lithuanian Commonwealth appointed the commander of the Grand Duchy of Lithuania's army, but betrayed the Commonwealth, refusing to fight against Russian troops throughout the Polish–Russian War of 1792, while feigning illness. For his betrayal he was dismissed from his post, but never prosecuted. His Polish wife, Duchess Maria, divorced him shortly afterward after his treason became public knowledge.