A Buffalo teen has pleaded guilty to murder for shooting a man to death last year after the victim left an East Side convenience store.

Devon Scott, also known by the street name “Ghost,” pleaded guilty last week to second-degree murder before State Supreme Court Justice Russell P. Buscaglia.

Scott, 18, of Cornwall Avenue, fatally shot Walden Avenue resident Darrell Anderson, 30, who was walking on the 500-block of Goodyear Avenue at 3:50 p.m. July 1. Police said Anderson had just left the nearby Super Price Choppers convenience store on Genesee Street.

Police made the arrest in September after talking with eyewitnesses to the incident.

Scott pleaded guilty to the highest charge for which he could have been convicted had he gone to trial, Erie County District Attorney Frank A. Sedita III stated. He faces a maximum prison sentence of 25 years to life when he is sentenced before Judge Buscaglia on Aug. 8.