Cara Dickey, the former South Buffalo Charter School teacher convicted of rape in 2009 for having sex with a 14-year-old male student, has pleaded guilty, as charged, to failing to register as a sex offender, the Erie County District Attorney’s Office announced Thursday.

She faces a maximum prison sentence of four years when sentenced on June 6 by State Supreme Court Justice John L. Michalski.

Federal authorities earlier this year caught Dickey near Chicago more than a month after she fled her halfway house on Bailey Avenue. She was on parole and required by law to register a change of address within 10 days but failed to do so, according to the District Attorney’s Office.

She was considered a fugitive because she allegedly removed an ankle bracelet that she was required to wear while she was on parole.

Authorities found her and the girlfriend she met behind bars in a motel room near Chicago.

She has been remanded pending sentencing.