The nation's leader Daniel Noboa emerged unharmed after his presidential convoy was attacked by stone-throwing demonstrators and what officials described as potential shots.
Noboa was inaugurating a water purification facility in the country's central region when his convoy was attacked by a large group protesting against increasing energy costs.
About 500 people showed up and were throwing stones at him, and there are obviously gunshot impacts on the president's car
commented the country's environment minister.
Officials reported that five people were detained and would stand trial on terrorism accusations – an offense carrying a maximum punishment of three decades in prison.
Video footage released by the administration depicts protesters standing in the road, covered in flags, rushing to collect large stones and bricks.
When the official vehicle passed, objects thudded into the paneling and shattered glass.
A voice could be audible yelling: "Duck! Heads down!" as the car accelerated from the scene.
Officials said they were still investigating whether certain of the damage on Noboa's protected vehicle were caused by bullet impacts.
The alleged attack occurred amid several days of progressively aggressive demonstrations triggered by a government decision to increase fuel costs.
Protesters have gone on strike, obstructed highways and taken sixteen military personnel – who were subsequently freed unharmed.
The country's largest native group stated that a demonstrator had been fatally injured by security personnel during one of the protests.
More than one hundred individuals, including protesters and law enforcement, are thought to have been injured in the unrest.
Noboa has imposed a emergency measures across several provinces.
The presidential administration said on digital platforms after the incident that "cowardly acts will not deter" the leader.
A senior official of the Organization of American States commented that "such violent acts are an attack on democratic principles, stability, and the spirit of peaceful coexistence that must dominate in our societies."
The recently re-elected president is trying to cut diesel subsidies to conserve about one billion dollars in public expenditure, redirecting a significant portion of the funds to security funding.
The nation, previously regarded one of the region's safest nations, has seen a dramatic surge in violence in the past few years.
Positioned between two neighboring countries, two of the planet's biggest cocaine producers, the country has transformed into a significant transportation center for illegal drugs.
Officials have accused drug gangs of exacerbating the unrest, suggesting that criminal groups are taking advantage of the demonstrations to disrupt the nation.
It is estimated that seventy percent of the world's cocaine supply passes through Ecuador, much of it destined for the United States.
The trade has attracted international criminal organizations, including Mexico's Sinaloa Cartel, Italian mafia groups, and Albania's mafia.
The rivalry for dominance of trafficking routes has turned Ecuador into one of the area's highest-risk places.
The president has proposed a referendum to allow the return of US troops to the country, overturning a 2009 ban on foreign bases.
A tech enthusiast and digital strategist with over a decade of experience in analyzing emerging technologies and their impact on society.