He was sentenced to death and executed by hanging three weeks after the insurrectionists gained control of the Polish capital, on May 9, 1794.
In 1806, upon her divorce from Count Pahlen, Ozharovsky married Maria, great niece of Prince Potemkin and the last Countess Skavronskaya.
An admirer of the military theories of Ernst von Pfuel, he was put in charge of the camp of Russian forces near the Drissa River.
His "flying column" was stationed at Krasnoi, when the Imperial Guard attacked the town and succeeded in ousting Ozharovsky from it.
During the foreign campaigns of the Russian army, Ozharovsky fought in all major battles and took 20 French cannons at Sompuis.