Ecuador's leader Daniel Noboa came out without injury after his presidential convoy was attacked by rock-hurling protesters and what authorities described as possible gunfire.
The president was inaugurating a water purification facility in the country's central region when his convoy was set upon by a large group demonstrating against increasing energy costs.
About five hundred individuals showed up and were hurling rocks at him, and there are clearly gunshot impacts on the official vehicle
commented the country's environmental official.
Officials confirmed that five people were detained and would stand court proceedings on terrorism accusations – an offense carrying a highest penalty of three decades in jail.
Recorded material released by the administration depicts demonstrators positioned in the road, draped in banners, rushing to collect sizeable rocks and bricks.
As the presidential SUV passed, projectiles thudded into the paneling and broke windows.
Someone could be heard yelling: "Duck! Heads down!" as the car accelerated from the scene.
Officials said they were still investigating whether certain of the damage on the president's armored vehicle were resulted from bullet impacts.
The alleged incident came amid days of progressively aggressive demonstrations sparked by a government decision to increase fuel costs.
Demonstrators have initiated work stoppages, blocked roads and abducted 16 soldiers – who were subsequently freed unharmed.
Ecuador's biggest native group reported that a protester had been killed by security personnel during a the protests.
More than 100 people, including demonstrators and law enforcement, are believed to have been injured in the violence.
The president has imposed a emergency measures across several provinces.
Noboa's office said on social media after the attack that "cowardly acts will not deter" the president.
A senior official of the regional organization commented that "these actions are an assault on democratic principles, stability, and the spirit of harmonious living that must dominate in our nations."
The recently re-elected president is trying to reduce diesel subsidies to save about $1bn in government spending, diverting a significant portion of the savings to safety initiatives.
The nation, previously regarded one of Latin America's most secure countries, has seen a significant increase in criminal activity in recent years.
Positioned between two neighboring countries, both the world's largest drug manufacturers, Ecuador has transformed into a major transportation center for narcotics.
Officials have accused cartels of fueling the protests, suggesting that criminal groups are taking advantage of the demonstrations to disrupt the country.
Reports indicate that 70% of the world's cocaine supply passes through the country, much of it headed for the US.
The trade has drawn global crime syndicates, including Mexican drug cartels, Italy's 'Ndrangheta, and Albanian criminal networks.
The rivalry for control of smuggling corridors has turned Ecuador into one of the region's highest-risk locations.
The president has called for a public vote to allow the presence of American military to the nation, overturning a 2009 ban on international military installations.
A travel writer and cultural enthusiast with over a decade of experience exploring global destinations and sharing unique stories.