An Esopus man was sentenced Wednesday to seven years in prison on an assault charge that stemmed from a gang-related shooting in Kingston in which a woman was injured, authorities said.

Shane Dunham, 20, also known as "Breezy," fired two rounds from a shotgun into a crowd on O'Neil Street in the city's midtown neighborhood on April 17, Ulster County District Attorney Holley Carnright said Thursday. A bystander, a young woman whose age was not released, was wounded in the foot, Carnright said.

advertisement | advertise on newsday

The shooting was apparently spurred after members of a local gang, known as the O'Neil Street Boys, taunted and threatened Dunham, Carnright said.

Dunham pleaded guilty to felony assault in October. He was sentenced by Ulster County Judge Donald A. Williams, who also ordered that Dunham be placed under three years post-release supervision.

Dunham was represented by a county public defender, officials said. A message placed with the public defender's office was not immediately returned Thursday afternoon.