The nation's president Daniel Noboa emerged without injury following his official convoy was targeted by stone-throwing demonstrators and what authorities described as possible gunfire.
The president was inaugurating a water purification facility in the country's central region when his motorcade was attacked by a sizeable crowd demonstrating against rising energy costs.
Approximately 500 people showed up and were throwing stones at him, and there are clearly bullet marks on the president's car
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 maximum punishment of three decades in prison.
Recorded material released by the administration shows demonstrators standing in the road, draped in flags, rushing to collect large stones and building blocks.
When the presidential SUV drove by, projectiles slammed into the paneling and shattered windows.
A voice could be audible yelling: "Duck! Get down!" as the car sped away.
Authorities said they were continuing to examine whether certain of the impact marks on the president's protected vehicle were caused by gunfire.
The alleged attack occurred amid several days of increasingly violent protests sparked by a administration's move to increase fuel costs.
Demonstrators have gone on strike, obstructed highways and taken 16 soldiers ā who were subsequently released unharmed.
The country's largest native group stated that a protester had been fatally injured by armed forces during a the rallies.
Over one hundred individuals, including protesters and law enforcement, are thought to have been injured in the unrest.
The president has imposed a state of emergency across several provinces.
Noboa's office said on social media after the incident that "such actions will not deter" the leader.
A senior official of the regional organization said that "these actions are an assault on democracy, stability, and the spirit of peaceful coexistence that must dominate in our nations."
The recently re-elected president is attempting to reduce diesel subsidies to conserve about $1bn in public expenditure, diverting much of the savings to security funding.
The nation, previously regarded one of Latin America's safest nations, has experienced a significant increase in violence in recent years.
Positioned between two neighboring countries, both the world's largest cocaine producers, the country has become a major transportation center for narcotics.
Authorities have alleged cartels of exacerbating the unrest, implying that illegal organizations are taking advantage of the protests to disrupt the country.
Reports indicate that seventy percent of the world's illegal drug market passes through Ecuador, a large portion of it destined for the US.
This business has attracted global crime syndicates, including Mexico's Sinaloa Cartel, Italian mafia groups, and Albania's mafia.
Their competition for dominance of smuggling corridors has transformed Ecuador into one of the area's most dangerous places.
The president has proposed a referendum to permit the return of US troops to the country, overturning a previous restriction on international military installations.
Escritora apasionada y viajera incansable, Elena comparte sus experiencias para inspirar a otros en su camino de autodescubrimiento.