The nation's president Daniel Noboa emerged unharmed after his presidential convoy was attacked by stone-throwing protesters and what officials described as potential shots.
Noboa was opening a water treatment plant in central Ecuador when his convoy was set upon by a large group protesting against increasing fuel prices.
About 500 people showed up and were hurling rocks at him, and there are obviously gunshot impacts on the president's car
stated the country's environment minister.
Authorities confirmed that five people were arrested and would face trial on terrorism accusations – an crime carrying a highest penalty of three decades in jail.
Video footage released by the administration shows protesters positioned in the road, draped in flags, scrambling to gather sizeable rocks and building blocks.
As the official vehicle drove by, projectiles thudded into the paneling and shattered windows.
Someone could be audible yelling: "Duck! Heads down!" as the car accelerated from the scene.
Officials indicated they were continuing to examine whether certain of the damage on Noboa's protected vehicle were resulted from gunfire.
This reported attack occurred amid several days of increasingly violent protests triggered by a government decision to raise fuel costs.
Protesters have initiated work stoppages, obstructed highways and taken 16 soldiers – who were subsequently released without injury.
The country's largest native group reported that a demonstrator had been killed by security personnel during a the protests.
More than one hundred individuals, including protesters and security services, are thought to have been injured in the unrest.
Noboa has declared a state of emergency across several provinces.
The presidential administration said on digital platforms following the incident that "cowardly acts will not deter" the leader.
The head of the regional organization commented that "such violent acts are an assault on democratic principles, peace, and the spirit of peaceful coexistence that must dominate in our nations."
Noboa is trying to cut fuel support to save about $1bn in government spending, redirecting much of the funds to security funding.
Ecuador, previously regarded one of Latin America's most secure nations, has experienced a significant increase in criminal activity in recent years.
Positioned between Colombia and Peru, two of the world's largest cocaine producers, the country has become a significant transportation center for illegal drugs.
Officials have alleged cartels of fueling the unrest, implying that criminal groups are exploiting the demonstrations to destabilize the country.
It is estimated that 70% of the world's illegal drug market transits via the country, much of it destined for the United States.
The trade has attracted international criminal organizations, including Mexico's Sinaloa Cartel, Italy's 'Ndrangheta, and Albanian criminal networks.
Their competition for control of trafficking routes has turned the nation into one of the area's highest-risk locations.
The president has proposed a public vote to allow the return of US troops to the country, overturning a 2009 ban on foreign bases.
A tech enthusiast and software developer with over 10 years of experience specializing in Windows systems and performance tuning.