The man accused of wounding two policemen during a protest rally outside the Ferguson, Missouri, police headquarters last week appeared in court on Monday briefly and did not enter a plea.
The shooting was the latest in violent incidents that have punctuated months of demonstrations in Ferguson, a St. Louis suburb, since a white police officer shot dead unarmed black teen Michael Brown during a confrontation in August.
Jeffrey L Williams, 20, has admitted to firing the shots that wounded the officers early on Thursday and also told authorities he was not shooting at police, Prosecuting Attorney Robert McCulloch said on Sunday after announcing the arrest.
Williams did not give any statements on Monday during his brief appearance before Judge Joseph Dueker in St. Louis County Circuit Court. He is charged with first-degree assault and his bond is set at $300,000.
Police had called the shooting an "ambush" of the officers, who were standing side by side, by a gunman embedded with protesters, but McCulloch said on Sunday Williams may have been shooting at someone else.
Several long-time activists have said they did not recognize or know Williams as a protester. "He never protested before," Bishop Derrick Robinson, an activist, told CNN on Monday.
The shooting of the officers, who were treated at a local hospital and released, followed a flurry of resignations and protests in the week since the US Justice Department released a damning report accusing Ferguson of racially biased policing.
Ferguson Police Chief Thomas Jackson, its city manager and its municipal court judge have resigned.
Williams, who had been on probation for possession of stolen property, is accused of firing shots early Thursday from a car just as a rally after Jackson's resignation was breaking up.
Demonstrations erupted into arson and looting after Brown's shooting in August and again in November when a grand jury declined to bring charges against Officer Darren Wilson.