A 1987 photo of the crime scene in Riverside, California.
CNN  — 

Cold case investigators have arrested a 55-year-old woman in North Carolina in connection with the death of a newborn girl found in a California dumpster 37 years ago, according to the Riverside Police Department.

Through DNA testing, detectives identified the baby’s mother as Melissa Jean Allen Avila, police said in a Thursday news release.

Avila is charged with murder, according to a criminal complaint. CNN has made efforts to reach Avila and has reached out to her public defender.

Avila made an initial appearance in court Wednesday and was released on her own recognizance through an agreement between the prosecution and the defense, according to John Hall, a spokesperson for the Riverside County District Attorney’s Office.

The newborn had been found deceased in a dumpster in Riverside on October 13, 1987, by a man rummaging for recyclables, police said in the release.

Homicide investigators were unable to identify a suspect and the case went unsolved for nearly 40 years. In 2020, the department’s new homicide cold case unit reopened the case.

Police said they worked with Othram, a DNA testing company, with funding from Season of Justice, a nonprofit that provides financial assistance for investigative agencies and families to help solve cold cases with “advanced DNA analysis solutions and forensic genealogy.”

Melissa Jean Allen Avila

In November 2021, Othram was able to get DNA from evidence in the case and build a profile for the baby, according to its website. The police agency’s forensics genetic genealogy team then developed new leads that led to potential relatives.

“Othram assisted with investigators’ reference testing efforts using (a method of testing that) allows investigators to infer kinship in closely and distantly related individuals,” the company said.

Avila was taken into custody in Shelby, North Carolina, which is about 45 miles west of Charlotte.

Avila was 19 at the time of the baby’s death. There was no evidence the baby’s father had any link to the case, police said.

“Thanks to the persistent efforts of our investigators and partners, this victim now has an identity, bringing resolution to the case,” Riverside Police Chief Larry Gonzalez said. “We will remain dedicated to seeking justice for homicide victims and ensuring their families find closure.”

Avila’s arraignment is scheduled for September 9, according to the DA’s office.

CNN’s Cheri Mossburg contributed to this report.