Anti-government demonstrators commandeer an armored vehicle during a nationwide strike against President Lenin Moreno and his economic policies , in Quito, Ecuador, Wednesday, Oct. 9, 2019. Ecuador's military has warned people who plan to participate in a national strike over fuel price hikes to avoid acts of violence. The military says it will enforce the law during the planned strike Wednesday, following days of unrest that led Moreno to move government operations from Quito to the port of Guayaquil. (AP Photo/Carlos Noriega)

QUITO, Ecuador (AP) — Thousands of protesters staged anti-government rallies Wednesday, seeking to intensify pressure on Ecuador's president after a week of unrest sparked by fuel price hikes.

Stone-throwing demonstrators clashed with police using tear gas to fend off crowds, including around the empty government headquarters in the capital of Quito.

Demonstrators struggled to get close to the headquarters in the colonial-era Carondelet palace, sealed off by police barricades in the narrow surrounding streets.

In one chaotic scene, protesters swarmed onto the top of a riot control vehicle that stopped in an alley. They pounded on its armored plating and reinforced windows with clubs and stones until the occupants accelerated away through clouds of smoke and tear gas.

Protesters included youths who burned tires and confronted security forces, labor union members and indigenous people who mobilized and marched, for the most part peacefully.

In a separate demonstration, thousands gathered in the port city of Guayaquil to condemn days of street violence that have shocked many Ecuadorians. Some wore white clothing and carried white flags.

Ecuador's Red Cross said it was suspending paramedic and ambulance services because of security concerns. Red Cross volunteers had been attacked in several locations in recent days and people threw stones at an ambulance in Quito on Monday, the aid group said.

The military earlier warned people against violence during Wednesday's protests, following unrest that led President Lenín Moreno to move government operations from Quito to Guayaquil.

In a statement, the military appealed to Ecuadorians to denounce anyone who uses the cover of the protest to carry out vandalism and other crimes.

The military's backing is key for Moreno, who said late Tuesday that his government is negotiating with indigenous groups. The president said the dialogue is difficult because so many indigenous groups are involved. He also said he will not resign despite widespread discontent in the South American nation of 17 million.

Moreno was returning to Quito from his temporary base in Guayaquil to monitor government handling of the protests on Wednesday, Interior Minister María Paula Romo said.

José Briones, secretary general of the president's office, said topics in an initial discussion with indigenous groups include aid for farmers, such as debt refinancing, irrigation and other technical assistance.

Still, the political crisis shows no immediate signs of abating. While labor leaders called the strike Wednesday, economic activity in much of the country has already been stalled by clashes, looting, blockades and other disruptions.

Ecuador's main oil pipeline, which runs from the Amazon region to Balao port on the Pacific ocean, has stopped operating because mainly indigenous protesters disrupted production facilities, the energy ministry said.

Violence started last week after Moreno ended fuel subsidies, leading to price increases. The government says at least 700 people have been arrested.

The disturbances have spread from transport workers to students and then to indigenous demonstrators, an ominous turn for the government. Indigenous protesters played a major role in the 2005 resignation of Ecuador's president at the time, Lucio Gutiérrez, though the military's tacit approval was key to his removal.

Moreno's government says some protesters support former president Rafael Correa and are intent on destabilizing the country.

Correa denies allegations that he is trying to instigate a coup and says he and his allies are victims of political persecution. Correa, who has been living in Belgium, faces an arrest warrant issued last year in Ecuador for alleged corruption.

Ecuador's cuts in fuel subsidies were among measures announced as part of a $4.2 billion funding plan with the International Monetary Fund, which said the package will strengthen the economy and generate jobs.

Indigenous groups condemn the deal with the IMF, saying austerity measures will deepen economic inequality.

Mounted police cross a burning barricade in chase of anti-government demonstrators during a nationwide strike against President Lenin Moreno and his economic policies, in Quito, Ecuador, Wednesday, Oct. 9, 2019. Ecuador's military has warned people who plan to participate in a national strike over fuel price hikes to avoid acts of violence. The military says it will enforce the law during the planned strike Wednesday, following days of unrest that led Moreno to move government operations from Quito to the port of Guayaquil. (AP Photo/Fernando Vergara)
An anti-government protester is detained by police during a nationwide strike against President Lenin Moreno and his economic policies, in Quito, Ecuador, Wednesday, Oct. 9, 2019.  Protests, which began when Moreno's decision to cut subsidies led to a sharp increase in fuel prices, have persisted for days. (AP Photo/Dolores Ochoa)
An anti-government demonstrator walks past a barricade in clashes with police during a nationwide strike march against President Lenin Moreno and his economic policies, in Quito, Ecuador, Wednesday, Oct. 9, 2019. Ecuador's military has warned people who plan to participate in a national strike over fuel price hikes to avoid acts of violence, saying it will enforce order. (AP Photo/Fernando Vergara)
Anti-government demonstrators and security forces face off during a nationwide strike march against President Lenin Moreno and his economic policies, in Quito, Ecuador, Wednesday, Oct. 9, 2019. Ecuador's military has warned people who plan to participate in a national strike over fuel price hikes to avoid acts of violence, saying it will enforce order. (AP Photo/Fernando Vergara)
Anti-government demonstrators march against President Lenin Moreno and his economic policies during a nationwide strike, in Quito, Ecuador, Wednesday, Oct. 9, 2019. Ecuador's military has warned people who plan to participate in a national strike over fuel price hikes to avoid acts of violence. The military says it will enforce the law during the planned strike Wednesday, following days of unrest that led Moreno to move government operations from Quito to the port of Guayaquil. (AP Photo/Carlos Noriega)
Anti-government protesters, stones in hand, run during clashes in downtown Quito, Ecuador, Wednesday, Oct. 9, 2019. Ecuador's military has warned people who plan to participate in a national strike over fuel price hikes to avoid acts of violence. The military says it will enforce the law during the planned strike Wednesday, following days of unrest that led President Lenin Moreno to move government operations from Quito to the port of Guayaquil. (AP Photo/Fernando Vergara)
A petrol bomb bounces off an armored vehicle as it turns a corner in chase of protesters during clashes in downtown Quito, Ecuador, Wednesday, Oct. 9, 2019. Ecuador's military has warned people who plan to participate in a national strike over fuel price hikes to avoid acts of violence. The military says it will enforce the law during the planned strike Wednesday, following days of unrest that led President Lenín Moreno to move government operations from Quito to the port of Guayaquil. (AP Photo/Fernando Vergara)
Indigenous anti-government demonstrators march against President Lenin Moreno and his economic policies during a nationwide strike, in Quito, Ecuador, Wednesday, Oct. 9, 2019. Ecuador's military has warned people who plan to participate in a national strike over fuel price hikes to avoid acts of violence. The military says it will enforce the law during the planned strike Wednesday, following days of unrest that led President Lenín Moreno to move government operations from Quito to the port of Guayaquil. (AP Photo/Carlos Noriega )
Anti-government demonstrators march with makeshift shields sprayed painted with the Spanish words for,
A protester waves a desecrated national flag in a march against President Lenin Moreno and his economic policies during a nationwide strike, in Quito, Ecuador, Wednesday, Oct. 9, 2019. Ecuador's military has warned people who plan to participate in a national strike over fuel price hikes to avoid acts of violence. The military says it will enforce the law during the planned strike Wednesday, following days of unrest that led Moreno to move government operations from Quito to the port of Guayaquil. (AP Photo/Carlos Noriega)
Indigenous anti-government demonstrators march against President Lenin Moreno and his economic policies during a nationwide strike, in Quito, Ecuador, Wednesday, Oct. 9, 2019. Ecuador's military has warned people who plan to participate in a national strike over fuel price hikes to avoid acts of violence. The military says it will enforce the law during the planned strike Wednesday, following days of unrest that led Moreno to move government operations from Quito to the port of Guayaquil. (AP Photo/Carlos Noriega)
Indigenous anti-government demonstrators march against President Lenin Moreno and his economic policies during a nationwide strike, in Quito, Ecuador, Wednesday, Oct. 9, 2019. Ecuador's military has warned people who plan to participate in a national strike over fuel price hikes to avoid acts of violence. The military says it will enforce the law during the planned strike Wednesday, following days of unrest that led Moreno to move government operations from Quito to the port of Guayaquil. (AP Photo/Carlos Noriega)
Protesters take cover from tear gas launched by police during clashes in downtown Quito, Ecuador, Wednesday, Oct. 9, 2019. Ecuador's military has warned people who plan to participate in a national strike over fuel price hikes to avoid acts of violence. The military says it will enforce the law during the planned strike Wednesday, following days of unrest that led President Lenín Moreno to move government operations from Quito to the port of Guayaquil. (AP Photo/Fernando Vergara)
Protesters prepare a makeshift firework launcher during clashes with security forces in downtown Quito, Ecuador, Wednesday, Oct. 9, 2019.  Violence started last week after President Lenin Moreno ended fuel subsidies, leading to price increases. Disturbances have spread from transport workers to students and then to indigenous demonstrators. (AP Photo/Fernando Vergara)
Indigenous anti-government demonstrators chant slogans against President Lenin Moreno and his economic policies during a nationwide strike, in Quito, Ecuador, Wednesday, Oct. 9, 2019. Ecuador's military has warned people who plan to participate in a national strike over fuel price hikes to avoid acts of violence. The military says it will enforce the law during the planned strike Wednesday, following days of unrest that led Moreno to move government operations from Quito to the port of Guayaquil. (AP Photo/Carlos Noriega)
Indigenous anti-government demonstrators chant slogans against President Lenin Moreno and his economic policies during a nationwide strike, in Quito, Ecuador, Wednesday, Oct. 9, 2019. Ecuador's military has warned people who plan to participate in a national strike over fuel price hikes to avoid acts of violence. The military says it will enforce the law during the planned strike Wednesday, following days of unrest that led President Lenín Moreno to move government operations from Quito to the port of Guayaquil. (AP Photo/Carlos Noriega )
An anti-government demonstrator adds a branch to a burning barricade during a protest against President Lenin Moreno and his economic policies, in Quito, Ecuador, Tuesday, Oct. 8, 2019. Ecuador has endured days of popular upheaval since Moreno scrapped fuel price subsidies, a step that set off protests and clashes across the South American country. (AP Photo/Fernando Vergara)