He returned to the Romanian Army in 1877, taking part in the War of Independence as a brigadier general, and fighting with distinction at the battles of Smârdan and Vidin. Elected senator in 1879, Haralambie joined a coalition that took down the Ion Brătianu government.