A 30-year-old California woman has been charged in the fatal shooting of a 16-year-old boy who was the father of her child, a prosecutor said Thursday.

Melinda Gaffney had apparently been arguing with Terrance Forks about his girlfriend before she allegedly shot and killed him outside of a Richmond apartment complex on the night of April 8, Contra Costa County Deputy District Attorney Mary Knox said.

Prosecutors charged Gaffney with murder with an enhancement for use of a firearm causing great bodily injury, according to the district attorney's office.

The charges came two days after Gaffney turned herself in to the San Francisco Police Department on a $1 million arrest warrant.

>> Read more trending stories 

She had been transferred to the Contra Costa County Sheriff's Office as of Thursday morning, authorities said.

Police found Forks suffering from gunshot wounds after receiving multiple reports of a fight and shots fired in front of the apartments around 10:20 p.m. on April 8.

A crowd had gathered at the scene and witnesses gave police the license plate number of the suspect's white Lexus sedan, which was later found abandoned.

—The Associated Press contributed to this report