Bolivia's former interim president Jeanine Áñez left prison Thursday following a Supreme Court of Justice decision that annulled her 10-year sentence.

“I can honestly say I hold my head high because I have nothing to hide, and no one can point a finger at me,” Áñez said as she left the Miraflores women's prison in downtown La Paz.

She smiled and waved a Bolivian flag as supporters celebrated and shouted, “Yes, we could.”

Áñez had been imprisoned for more than four years.

She was arrested in March 2021, and in convicted in June 2022, for her role in assuming the presidency in a controversial National Assembly session following the deadly 2019 protests that led to the resignation of then-president Evo Morales.

The protests, which resulted in 37 deaths, followed a crisis that erupted after presidential elections in which Morales won another term, despite the Organization of American States denouncing the results as fraudulent.

On Wednesday, Bolivia's Supreme Court of Justice annulled Áñez’s conviction and ordered a political trial, as demanded by her defense.

"Her actions were protected by a state of constitutional necessity aimed at preserving the institutional continuity of the Bolivian state,” the ruling said, closing the debate over whether there was a coup against Morales, as his supporters claim.

The top court's decision on Áñez came three days ahead of the inauguration of President-elect Rodrigo Paz, who secured a historic victory on October 19 that ended nearly 20 years of political dominance by Morales' leftist Movement Toward Socialism (MAS) party.

Paz invited Áñez to the inauguration and her daughter, Carolina Rivera, said that she might attend it.

"The monster had to leave for those who administer justice to act according to the law, Áñez said.

Áñez has been accused of multiple counts, but is no pending cases in ordinary courts.

In August, courts annulled two other convictions against her over the deaths of 20 protesters during the 2019 political crisis.

The former interim president was arrested in March, 2021.

After the latest presidential elections, the court ordered an immediate review of the length of the pretrial detention imposed on Áñez and two other opposition leaders, who were released from prison and placed under house arrest.

AP video shot by: Carlos Guerrero