A judge sentenced 33-year-old Luke Dercole to 2 to 14 years in state prison on Monday.
Dercole pleaded guilty to buying four guns for 16-year-old Michael Burak in exchange for heroin.
Burak was arrested after using one of the guns provided by Dercole to shoot 20-year-old Jonathan Espinoza on October 28, 2012 at a home on the 1200 block of Van Kirk Street in the city's Oxford Circle section.
He pleaded guilty and is currently serving 4 to 8 years in state prison.
A narcotics investigation in January led police to a home on Frankford Avenue where they discovered a 9mm Glock semi-automatic pistol. Police determined that the firearm was one of four bought by Luke Dercole in October of 2012, and that none of the firearms he had purchased were reported stolen or missing.
Police say that when investigators interviewed Dercole about the firearms, he admitted to buying the guns for Burak in exchange for packages of heroin.
According to police, Dercole explained how he exchanged the different guns because Burak was not happy with what was purchased.