Albany police detectives arrested two 19-year-old city residents in connection with a homicide that occurred last month on Quail Street.

Gentil Nshuti and Jihad Ali were arrested and charged in the shooting death of Devin McGlothin following an investigation by detectives in the Criminal Investigation Unit, city police announced Thursday afternoon in a press release.

McGlothin, 29, was shot at around 3 a.m. May 30 on Quail Street between Western Avenue and Elberon Place, according to police.

He sustained serious injuries and was pronounced deceased at the scene. Nshuti and Ali were each charged with second-degree murder, police said.

Nshuti was also charged with second-degree criminal possession of a weapon, also a felony, according to police.

Both were arraigned Thursday in Albany Criminal Court and taken to Albany County jail, police said.