This post has been corrected. See the note at the bottom for details.

A Los Angeles man could receive jail time for pelting a police vehicle with a plastic water bottle during protests related to the fatal police shooting of a Guatemalan immigrant, city prosecutors said Tuesday.

The sentence handed down by L.A. County Superior Court Judge Yvette Verastegui came after Cameron Hughes entered a no contest plea Tuesday to throwing an object at a vehicle.

Hughes must choose between spending a month in county jail or working on a Caltrans crew. He also received two years formal diversion, city prosecutors said.

If he completes the terms of his sentence within two years and has no new arrests, the charges will be reduced to an infraction.

More than a dozen people have been prosecuted in a series of street protests that broke out in the Westlake district after the fatal shooting of Guatemalan laborer Manuel Jamines by police.

Officers who responded to the MacArthur Park area last fall found the 37-year-old laborer drunk and holding a knife, according to LAPD officials.