A 23-year old District man faces a maximum sentence of 40 years in prison after pleading guilty Thursday to a 2011 murder during a robbery attempt.

Anthony Speight Jr. pleaded guilty in D.C. Superior Court to second-degree murder while armed in the Jan. 19, 2011 slaying of William R. Mitchell, 33.

Prosecutors said Speight shot Mitchell four times during the attempted robbery near Florida Avenue and North Capitol Street NW.

Speight is scheduled to be sentenced on Nov. 30 by D.C. Superior Court Judge Russell F. Canan.

This item has been updated, correcting incorrect information about the maximum sentence faced by Speight and Mitchell’s name reported by the U.S. Attorney’s office.