Ecuador's leader Daniel Noboa came out unharmed after his presidential motorcade was targeted by stone-throwing demonstrators and what officials described as potential shots.
The president was inaugurating a water purification facility in the country's central region when his convoy was set upon by a sizeable crowd demonstrating against increasing energy costs.
About five hundred individuals showed up and were hurling rocks at him, and there are clearly gunshot impacts on the president's car
commented the country's environmental official.
Officials confirmed that five people were detained and would stand trial on terrorism accusations – an crime carrying a highest penalty of 30 years in prison.
Video footage released by the government shows demonstrators standing in the road, draped in flags, scrambling to gather sizeable rocks and bricks.
As the official vehicle passed, projectiles thudded into the exterior and shattered glass.
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 damage on Noboa's protected vehicle were resulted from gunfire.
The alleged attack occurred amid several days of increasingly violent demonstrations triggered by a administration's move to raise fuel costs.
Protesters have gone on strike, blocked roads and taken 16 soldiers – who were subsequently freed unharmed.
The country's biggest native group reported that a demonstrator had been killed by armed forces during one of the protests.
Over one hundred individuals, including demonstrators and security services, are thought to have been hurt in the unrest.
The president has imposed a emergency measures across multiple provinces.
Noboa's office said on digital platforms following the attack that "such actions will not stop" the president.
The head of the regional organization commented that "such violent acts are an attack on democratic principles, stability, and the spirit of harmonious living that must dominate in our nations."
The recently re-elected president is trying to reduce fuel support to save about one billion dollars in government spending, redirecting much of the savings to safety initiatives.
Ecuador, previously regarded one of the region's most secure nations, has experienced a dramatic surge in criminal activity in recent years.
Positioned between Colombia and Peru, both the world's largest cocaine producers, the country has become a significant transit hub for narcotics.
Authorities have accused drug gangs of exacerbating the protests, implying that criminal groups are taking advantage of the protests to disrupt the country.
It is estimated that 70% of the world's illegal drug market passes through the country, a large portion of it headed for the United States.
This business has attracted global crime syndicates, including Mexico's Sinaloa Cartel, Italy's 'Ndrangheta, and Albania's mafia.
Their competition for dominance of trafficking routes has transformed the nation into one of the area's most dangerous locations.
Noboa has proposed a referendum to allow the presence of American military to the nation, overturning a previous restriction on foreign bases.