PROVIDENCE, R.I. — A Pawtucket man is charged in a brazen drive-by shooting of an associate of a rival gang outside Superior Court around noontime Monday.

Joseph Segrain, his baggy jeans hanging down below his underwear, was in shackles Thursday morning as he faced District Court Judge Pamela Woodcock-Pfeiffer for arraignment on five felony charges. More than a dozen sheriffs were in the courtroom, a precaution after the chaos from the last time the 33-year-old man was inside a courtroom.This all started with a chance encounter in Superior Court on Monday between two young men from rival street gangs in Pawtucket. Both showed up for pre-trial conferences.

John Laboy, 19, of the "Bucket East" gang, was out on $50,000 surety bail on three gun charges, according to the attorney general's office. Carlos D. DePina, 20, of "Bucket West," was on home confinement for gun and drug charges, according to the attorney general's office.

DePina's 22-year-old brother, Mathew, was there in support. So, prosecutors say, Laboy put the word out to "Bucket East."

And Segrain, of "Bucket East," showed up with 10 people, Special Assistant Attorney General Joseph McBurney said.

Some in the crowd started yelling at each other. The sheriffs ordered them out.

Surveillance video showed Segrain in a BMW SUV driving in circles around the courthouse for about an hour, McBurney said. Then, when Mathew DePina finally left the building and got into a relative's car, McBurney said, Segrain went after him.

The BMW came flying down College Hill, speeding through red lights at South Main Street and Memorial Boulevard, and pulled alongside the car that DePina had gotten into, McBurney said.

Segrain fired seven shots, and several struck DePina, wounding but not killing him, McBurney said. Off-duty Providence officer Andrew Lawton chased another car believed to be involved in the shooting, and the driver was charged with reckless driving.

Officers from Providence and Pawtucket soon identified Segrain as the gunman, and he was arrested in Pawtucket on Wednesday, said Providence Maj. David Lapatin. The firearm wasn't found, he said.

Segrain, with his lawyer at this side, said little during his arraignment. He has a lengthy record of drug and gun crimes, and is serving a nine-year suspended sentence on drug charges, and this could put him in violation of that, prosecutors said.Segrain was charged with drive-by shooting, felony assault, possession of a firearm after being convicted of a violent crime, using a firearm while committing a violent crime, and possession of a firearm without a license. If convicted and found to be a habitual offender, Segrain could face up to 114 years in prison, McBurney said.

Judge Woodcock-Pfeiffer ordered Segrain held on $200,000 surety bail, with an order not to contact DePina. The incident was bad enough, the judge said, and she didn't want to see it spread, when one action leads to another.