WEST HARTFORD — A Hartford gang member, who was shot this month while released on bond on federal charges, was sentenced to more than a year in prison on a drug distribution offense.

During his court appearance Thursday, a judge sentenced Kendall Fair, 21, to 15 months in prison, followed by three years of supervised release.

The charges against Fair stemmed from an investigation targeting gang-related drug distribution and associated violence in North Hartford that began in July 2019 after a spike of gun violence.

Investigators learned a significant amount of the gun violence was committed by “members of two rival neighborhood street gangs, the Dumouts and the Hoodstars,” according to a news release from the office of U.S. Attorney for Connecticut John Durham.

Fair was a member of the Dumouts, according to authorities. Investigators said they bought crack from Fair three times, and crack and fentanyl from him twice.

More than a year ago, on Sept. 13, 2019, investigators arrested Fair at his home. A search of his bedroom led investigators to 15 grams of crack, an undisclosed quantity of cocaine and six bags of fentanyl, authorities said.

Fair pleaded guilty to possession with intent to distribute, and distribution of, cocaine-based crack.

He was released on a $100,000 bond on May 14.

The conditions of Fair’s release included that he must live with family in West Hartford and be confined to the home with electronic monitoring.

Then, in the early morning hours of Sept. 7, Hartford police responded to Huntington Street for a call of shots fired. Responding officers found Fair suffering from two gunshot wounds to the leg, authorities said.

A handgun and about 40 different caliber shell casings were recovered by investigators, authorities said.

Fair’s criminal history included multiple felony convictions. He was also previously shot in March 2018 and May 2018.

He was remanded to the custody of the U.S. Marshals after Thursday’s court proceeding.