The ex-boyfriend of a correction officer, who was killed while in her car in Brooklyn in December, was charged Thursday with her murder.

Keon Richmond, 35, is accused of killing Alastasia Bryan on Dec. 4.

The 25-year-old correction officer was shot several times while she sat in her car near her mother's house in Flatlands.

Richmond now faces murder and weapons charges.

He was already in police custody after he was charged with setting a different woman's car on fire in October.

Police said the Brooklyn-native has more than 30 prior arrests, including some for domestic violence.

Bryan had been working at Rikers Island and was on the job for only a month.