A Pittsfield man pleaded guilty on Thursday in Berkshire Superior Court to a pair of charges in connection to an April 2016 stabbing.

According to the Berkshire County District Attorney's Office, 24-year-old Selvin Gonzalez-Castillo pleaded guilty to one count each of armed assault with intent to murder and aggravated assault and battery by means of a dangerous weapon.

Gonzalez-Castillo was arrested and charged with the Linden Street stabbing of a, then, 29-year-old on April 23, 2016. According to a June 2016 report from the Associated Press, the victim was left "very close to death" and required 14 units of blood, along with several surgeries as a result of his wounds.

Judge Maureen Hogan ordered that he serve a two year and 27 day to two year and 28 day sentence at the Massachusetts Correction Institution at Cedar Junction. Gonzalez-Castillo will get credit for time served while awaiting trial.