The nation's leader Daniel Noboa emerged without injury following his official motorcade was attacked by stone-throwing demonstrators and what authorities characterized as possible gunfire.
Noboa was opening a water treatment plant in the country's central region when his convoy was attacked by a large group protesting against rising energy costs.
Approximately five hundred individuals showed up and were hurling rocks at him, and there are obviously bullet marks on the president's car
commented the country's environmental official.
Authorities reported that five individuals were arrested and would face court proceedings on terrorism charges – an offense carrying a maximum punishment of three decades in prison.
Recorded material released by the administration shows demonstrators positioned in the road, draped in banners, scrambling to gather sizeable rocks and building blocks.
When the presidential SUV drove by, projectiles slammed into the exterior and shattered windows.
A voice could be audible shouting: "Duck! Get down!" as the vehicle sped away.
Officials said they were still investigating whether some of the damage on the president's armored vehicle were caused by gunfire.
The alleged incident came amid several days of progressively aggressive protests triggered by a administration's move to raise diesel prices.
Demonstrators have initiated work stoppages, blocked roads and taken 16 soldiers – who were eventually released without injury.
Ecuador's largest native group stated that a demonstrator had been fatally injured by security personnel during a the protests.
More than one hundred individuals, including demonstrators and law enforcement, are believed to have been hurt in the unrest.
The president has imposed a state of emergency across multiple regions.
Noboa's office said on digital platforms after the attack that "cowardly acts will not stop" the leader.
A senior official of the Organization of American States said that "such violent acts are an assault on democracy, stability, and the principle of peaceful coexistence that must prevail in our nations."
The recently re-elected president is attempting to cut diesel subsidies to conserve about $1bn in government spending, diverting a significant portion of the funds to safety initiatives.
The nation, once considered one of Latin America's most secure nations, has seen a dramatic surge in violence in recent years.
Strategically located between two neighboring countries, two of the planet's biggest cocaine producers, the country has transformed into a major transportation center for illegal drugs.
Authorities have alleged drug gangs of exacerbating the protests, implying that illegal organizations are exploiting the demonstrations to destabilize the country.
It is estimated that 70% of the world's illegal drug market passes through Ecuador, much of it headed for the United States.
This business has drawn international criminal organizations, including Mexican drug cartels, Italian mafia groups, and Albanian criminal networks.
Their competition for dominance of smuggling corridors has turned the nation into one of the area's most dangerous places.
The president has called for a public vote to allow the return of American military to the nation, repealing a 2009 ban on foreign bases.
A tech enthusiast and software engineer with over a decade of experience in cloud computing and AI, sharing insights to demystify complex technologies.