Updated

Bolivian President Luis Arce announced three new heads of the South American country's armed forces following an attempted coup in which military units used armored vehicles to ram into the doors of Bolivia's government palace before the army general allegedly responsible was arrested.

The news of the new heads of the army, navy and air force came amid the roar of supporters.

"The country is facing an attempted coup d’état. Here we are, firm in Casa Grande, to confront any coup attempt. We need the Bolivian people to organize," Arce said in a video message.

Video footage showed troops setting up blockades outside the government palace. Arce said the troops who rose against him were "staining the uniform" of the military.

BOLIVIAN INTERIM GOVERNMENT ACCUSES MORALES OF TERRORISM, SEDITION

Luis Arce

Bolivian president Luis Arce (Photo by RONALDO SCHEMIDT/AFP via Getty Images)

"I order all that are mobilized to return to their units," said the newly appointed army chief José Wilson Sánchez. "No one wants the images we’re seeing in the streets."

Soon after, troops began pulling back from the presidential palace. 

Arce confronted Army Gen. Juan José Zúñiga, who was recently stripped of his military command and who appeared to be leading the rebellion, in the palace hallway, as shown in a video on Bolivian television. Zúñiga was later arrested after the attorney general opened an investigation against him. It wasn’t immediately clear what the charges were against him.

Zuniga said Arce asked him to storm the palace in a political move. 

"The president told me: ‘The situation is very screwed up, very critical. It is necessary to prepare something to raise my popularity’," Zúñiga told reporters.

Army Cmdr. Gen. Juan Jose Zuniga arrested

Army Cmdr. Gen. Juan Jose Zuniga sits inside an armored vehicle at Plaza Murillo in La Paz, Bolivia, Wednesday. Armored vehicles rammed into the doors of Bolivia's government palace Wednesday as President Luis Arce said the country faced an attempted coup.  (AP Photo/Juan Karita)

Zúñiga sajd he asked Arce if he should "take out the armored vehicles?" and Arce replied, "Take them out."

"I am your captain, and I order you to withdraw your soldiers, and I will not allow this insubordination," he said. 

On X, Arce called for "democracy to be respected."

The United States said it was closely monitoring the situation and urged calm and restraint.

BRAZIL'S PRESIDENT WITHDRAWS AMBASSADOR TO ISRAEL, LEAVING DIPLOMATIC POST VACANT

Coup at Bolivian presidential palace

LA PAZ, BOLIVIA - JUNE 26: Military Police walk amid tear gas outside the presidential palace at Plaza Murillo on June 26, 2024, in La Paz, Bolivia. President of Bolivia Luis Arce warned about irregular movements of military troops and raises the alert of a possible Coup d'état. (Photo by Gaston Brito Miserocchi/Getty Image)

Bolivia, a country of 12 million people, has seen intensifying protests in recent months over the economy’s precipitous decline from one of the continent’s fastest-growing two decades ago to one of its most crisis-stricken.

The country also has seen a high-profile rift at the highest levels of the governing party. Arce and his one-time ally, leftist icon and former President Morales, have been battling for the future of Bolivia’s splintering Movement for Socialism, known by its Spanish acronym MAS, ahead of elections in 2025.

The leadership of Bolivia’s largest labor union condemned the action and declared an indefinite strike of social and labor organizations in La Paz in defense of the government.

The incident was met with a wave of outrage by other regional leaders, including the Organization of American States; Gabriel Boric, the president of neighboring Chile; the leader of Honduras, and former Bolivian leaders.

Bolivian supporters of president

26 June 2024, Bolivia, La Paz: Supporters of Bolivian President Arce rally in support of democracy near the government palace during an attempted coup. (Photo by Radoslaw Czajkowski/picture alliance via Getty Images)

The most recent attempted coup on the continent occurred in December 2022 when Peruvian President Pedro Castillo was arrested the same day that he attempted to dissolve Congress, declare a state of emergency and re-write the constitution. He was eventually impeached and removed from office.  

CLICK HERE TO GET THE FOX NEWS APP

"Brazil's position is clear. I am a lover of democracy and I want it to prevail throughout Latin America. We condemn any form of coup d'état in Bolivia and reaffirm our commitment to the people and democracy in our sister country," Brazilian President Luiz Inácio Lula da Silva wrote on X. 

The Associated Press contributed to this report.