STORY: This is the moment Bolivian president Luis Arce confronted Army general Juan Jose Zuniga, who led a failed effort to overthrow the government...

...after attempting to storm the presidential palace and ramming the entrance with an armored vehicle.

Hours later, Zuniga was seen handcuffed on live TV after his arrest for the failed coup attempt, which has raised fears that democracy in Bolivia remains at risk.

On Thursday, it was revealed by a senior interior minister that the Bolivian government had intelligence that a coup attempt could occur...

...and that Arce had received reports about "destabilization attempts."

Arce has since slammed the coup attempt and swiftly named a new top general.

According to a government official, Zuniga had been told a day before the coup attempt that he would be stripped of his position.

The former commander is now among 17 people who have been detained, so far, and could face prison terms of between 15 and 30 years.

Wednesday's events uncovered the tense political fault lines in the South American country ahead of a presidential election next year.

Arce's socialist party is split between backing him and his former mentor-turned-political-rival, ex-President Evo Morales.

Zuniga had recently said that Morales should not be able to run again for president and had threatened to block him if he attempted to do so.