Ecuador's president Daniel Noboa emerged without injury following his official motorcade was attacked by stone-throwing protesters and what officials characterized as potential gunfire.
Noboa was opening a water treatment plant in central Ecuador when his motorcade was attacked by a large group demonstrating against increasing fuel prices.
About 500 people appeared and were throwing stones at him, and there are clearly bullet marks on the president's car
commented Ecuador's environmental official.
Authorities confirmed that five individuals were detained and would stand court proceedings on terrorism charges – an offense carrying a maximum punishment of 30 years in jail.
Video footage released by the administration depicts protesters positioned in the road, draped in flags, rushing to gather sizeable rocks and building blocks.
As the presidential SUV passed, objects slammed into the exterior and broke glass.
A voice could be audible shouting: "Duck! Heads down!" as the vehicle sped away.
Officials said they were still investigating whether certain of the impact marks on Noboa's armored vehicle were caused by gunfire.
This reported attack came amid several days of increasingly violent protests sparked by a government decision to raise fuel costs.
Demonstrators have initiated work stoppages, blocked roads and abducted sixteen military personnel – who were subsequently freed without injury.
Ecuador's largest Indigenous organization reported that a protester had been killed by security personnel during one of the protests.
Over 100 people, including demonstrators and law enforcement, are thought to have been hurt in the violence.
Noboa has declared a emergency measures across several provinces.
The presidential administration said on social media after the attack that "cowardly acts will not deter" the president.
A senior official of the Organization of American States said that "such violent acts are an attack on democracy, peace, and the principle of harmonious living that must dominate in our societies."
The recently re-elected president is trying to reduce fuel support to save about $1bn in public expenditure, diverting a significant portion of the savings to security funding.
Ecuador, once considered one of Latin America's most secure countries, has seen a dramatic surge in violence in recent years.
Strategically located between Colombia and Peru, both the world's largest drug manufacturers, the country has transformed into a significant transit hub for illegal drugs.
Authorities have accused cartels of fueling the unrest, suggesting that criminal groups are exploiting the protests to destabilize the country.
It is estimated that 70% of the world's cocaine supply passes through Ecuador, a large portion of it headed for the US.
The trade has attracted international criminal organizations, including Mexico's Sinaloa Cartel, Italy's 'Ndrangheta, and Albania's mafia.
The rivalry for control of smuggling corridors has turned Ecuador into one of the region's highest-risk places.
The president has proposed a referendum to permit the presence of US troops to the country, overturning a 2009 ban on international military installations.