BUENOS AIRES (Reuters) - Julio De Vido, an ex-minister in former Argentine President Cristina Fernandez’s government, was jailed after turning himself in to authorities on Wednesday, marking an anti-corruption milestone in a country known for impunity.

Slideshow ( 6 images )

Congress voted to strip former planning minister and current lawmaker De Vido of his parliamentary immunity earlier in the day, and he later appeared at a federal judge’s chambers in Buenos Aires where he was taken into custody. He faces charges in two separate corruption cases.

Argentina’s Congress rarely removes lawmakers’ immunity and De Vido is the most powerful official from the 2007-2015 Fernandez era to be jailed.

Local television showed police escorting De Vido from the chamber but covered his face with riot shields. He was then driven to Ezeiza jail outside the capital city, where he will be detained indefinitely.

“This is a scandal. In a state of law sentences are applied after a conviction,” De Vido’s lawyer Maximiliano Rusconi told local television.

Corruption allegations dogged Fernandez’s government and isolated her politically ahead of a Senate race on Oct. 22.

De Vido is under investigation in a case involving the Patagonian coal mine Rio Turbio. Prosecutors accuse him of embezzling state funds allocated for the mine. He has denied any wrongdoing.

A three-judge panel ordered De Vido’s arrest last week, saying he should be jailed to prevent him fleeing or interfering with the case.

Fernandez won a Senate seat for the province of Buenos Aires under Argentina’s list system on Sunday, but finished second, lessening her chances of staging a comeback for the presidency in 2019.

De Vido was in charge of running energy infrastructure projects under Fernandez, a left-leaning populist who was succeeded by business-friendly President Mauricio Macri in late 2015.

Fernandez, the subject of corruption investigations herself, has acknowledged there was likely corruption during her government but denies personal involvement.