A Georgia felon who moved to Buffalo has pleaded guilty, as charged, to criminal possession of a weapon, the Erie County District Attorney’s Office announced Monday.

Jerome C. Hearn, 37, was living with his girlfriend in the Buffalo area when she called police to remove him from her home, according to a release from the office.

The police discovered a loaded pistol by his side.

Hearn has been jailed since his March 21 arrest. He faces up to 15 years in prison when sentenced on March 12 by State Supreme Court Justice Deborah A. Haendiges.

While in custody, Hearn had called and written to the woman, trying to persuade her from testifying, according to the District Attorney’s Office.