A 9-year-old girl who was playing hide and seek with her friends at a birthday party in Roxbury was accidentally shot and paralyzed by a career criminal who was wearing a court-ordered GPS monitoring bracelet that tracked his every move before, during and after the bullet was fired, prosecutors say.

“Unfortunately, in a horrible circumstance, this 9-year-old who is playing hide and seek behind the three intended targets got shot,” Suffolk Assistant District Attorney Catherine Ham said yesterday as 27-year-old Dominique Finch was arraigned in Roxbury District Court on an assault with intent to murder charge.

The Dorchester man’s lengthy criminal record includes convictions for armed robbery, witness intimidation, drug crimes and assaults, court documents show.

In Roxbury District Court alone, Finch has 15 separate criminal cases dating back to 2008 — and throughout those files, he’s repeatedly referred to as a Heath Street gang member. It was a rivalry between Heath Street and the Annunciation Road Gang that led to the 9-year-old’s shooting, police say.

Investigators recovered two guns used in the Oct. 9 shooting in separate busts, and each one was carried by a Heath Street gang member, police say.

Finch, who pleaded not guilty, was ordered held on $300,000 cash bail. His bail was revoked on an open case out of Suffolk Superior Court where he was indicted for a January 2016 bar fight that left a man with serious injuries.

Ham said the victim’s family was attending a birthday party at the Annunciation Projects and were preparing to leave after midnight when the 9-year-old went to a nearby playground to play hide and seek with two 10-year-olds. It was during that game that the little girl was shot, police say, causing stomach, kidney and spinal cord injuries that have left her paralyzed from the waist down.

After reviewing surveillance video footage, police recovered shell casings and bullets at the scene that match the path of two men they believed fired shots.

A review by state Probation Department officials revealed that movements recorded by Finch’s GPS bracelet match the location and movements of a car that transported the two suspected shooters caught on video.

Finch’s public defender, Yolonda Acevedo, tried to have the case dismissed by arguing prosecutors can’t link Finch to the guns recovered by police, they have no witnesses putting him at the scene and are relying entirely on his GPS coordinates. Judge Debra DelVecchio denied that request.