An attempted coup in Bolivia that saw soldiers take over La Paz's central square and ram the presidential palace with an armored truck was put down as abruptly as it started, but has laid bare a brewing economic and political crisis in the divided nation.

On Wednesday, military units led by rogue Gen. Juan Jose Zuniga launched the attack on the government, but pulled back as it quickly became clear they had little support. The former armed forces commander was arrested on live TV.

But while the government of leftist President Luis Arce heralded its success at putting down the coup attempt, it has uncovered the tense political fault lines in the South American country and growing anger with a flagging economy.