BOGOTÁ, Colombia — Venezuelan security forces on Tuesday clashed with protesters on the streets of Caracas as thousands gathered to protest a decision by the country’s Supreme Court to seize power from the legislature.

While the court reversed the most disputed parts of its ruling on Saturday, that did not stop crowds from massing in a large middle-class Caracas district to accuse President Nicolás Maduro of trying to eviscerate Venezuela’s democratic institutions and establish one-man rule.

The National Guard and the national police arrived about an hour after the demonstration began, firing tear gas into the throngs and deploying trucks mounted with water cannon. Armed pro-government gangs harassed protesters and shot one person in the leg, according to Ramón Muchacho, the mayor of Chacao, a neighboring district. At least eight others were hurt, he told reporters.