Ecuador's president Daniel Noboa came out without injury after his official motorcade was attacked by stone-throwing protesters and what officials described as possible shots.
The president was opening a water purification facility in central Ecuador when his motorcade was attacked by a sizeable crowd protesting against rising energy costs.
Approximately 500 people showed up and were hurling rocks at him, and there are obviously gunshot impacts on the president's car
commented Ecuador's environment minister.
Officials confirmed that five people were detained and would stand court proceedings on terrorism accusations β an crime carrying a highest penalty of 30 years in jail.
Video footage released by the government depicts demonstrators standing in the road, draped in flags, rushing to gather large stones and bricks.
When the official vehicle passed, objects slammed into the paneling and broke glass.
Someone could be heard yelling: "Duck! Get down!" as the vehicle accelerated from the scene.
Officials indicated they were continuing to examine whether some of the impact marks on Noboa's armored vehicle were resulted from gunfire.
The alleged incident occurred amid several days of increasingly violent demonstrations triggered by a administration's move to raise diesel prices.
Demonstrators have initiated work stoppages, obstructed highways and taken 16 soldiers β who were eventually freed without injury.
The country's biggest native group reported that a demonstrator had been fatally injured by armed forces during a the protests.
Over 100 people, including demonstrators and security services, are thought to have been injured in the unrest.
Noboa has imposed a emergency measures across several regions.
Noboa's office said on social media after the incident that "such actions will not deter" the president.
A senior official of the Organization of American States said that "these actions are an attack on democratic principles, stability, and the spirit of peaceful coexistence that must prevail in our societies."
Noboa is trying to cut diesel subsidies to save about $1bn in government spending, diverting much of the funds to safety initiatives.
Ecuador, once considered one of the region's most secure nations, has seen a significant increase in violence in the past few years.
Strategically located between Colombia and Peru, two of the planet's biggest cocaine producers, the country has become a significant transit hub for illegal drugs.
Authorities have alleged drug gangs of fueling the unrest, implying that criminal groups are taking advantage of the demonstrations to disrupt the country.
Reports indicate that 70% of the global cocaine supply passes through the country, a large portion of it destined for the US.
This business has drawn global crime syndicates, including Mexico's Sinaloa Cartel, Italian mafia groups, and Albanian criminal networks.
Their competition for control of smuggling corridors has transformed Ecuador into one of the region's most dangerous places.
Noboa has proposed a public vote to permit the presence of American military to the nation, overturning a previous restriction on foreign bases.
A seasoned IT strategist with over 15 years in digital transformation, Elena specializes in cloud architecture and cybersecurity solutions for global enterprises.