NAMPA, Idaho -

Two southwest Idaho gang members have pleaded guilty to various charges following a shootout that injured a 10-year-old girl struck by a stray bullet.

KTVB-TV reports that 21-year-old Ezri Garcia on Wednesday pleaded guilty to aggravated battery with intent to inflict great bodily injury and felony riot, with a gang sentencing enhancement.

Nineteen-year-old Mario Garza pleaded guilty to aggravated assault with a weapons enhancement and felony riot with a gang enhancement.

The shooting occurred on June 29 in Nampa as families gathered to watch a fireworks show as part of a festival.

The 10-year-old was struck in the shoulder, and surgeons were unable to remove the bullet due to possible nerve damage.

The girl in September told KTVB she was unable to raise her arm above her head.