DENVER — A Colorado woman was due in court on Thursday accused of cutting a fetus out of another woman’s womb after luring her with a Craigslist ad, then taking it to a hospital and claiming to have had a miscarriage.

Dynel Catrece Lane, 34, was booked into Boulder County Jail on charges of attempted first-degree murder, first-degree assault and reckless child abuse resulting in death, online jail records showed.

Police responded to a report of a stabbing on Wednesday at a home in Longmont, 30 miles north of Denver, where they found a woman crying for help after being beaten and stabbed in the torso.

The victim said she was pregnant and that an attacker had “removed” her baby. She said she had gone to the house after seeing a Craigslist ad for baby clothes.

The victim, who was not identified, is expected to survive after surgery at a hospital, police said.

Some time later, the authorities said, a 34-year-old woman showed up at the same hospital carrying the fetus and told staff she had suffered a miscarriage.

Longmont Police Commander Jeff Satur said that when officers made the connection, they took her into custody. Police have said the two women had not known each other previously.

Boulder County District Attorney Stan Garnett said an autopsy would likely be carried out on the fetus on Friday, and that the police investigation would last until next week.

He told a news conference investigators were focused on the sequence of events leading to the death of the fetus, whether it was alive when it was removed, and if so, for how long, and also what caused its death.

“These are issues that will be important for us to know … there’s dozens of officers working the case right now,” he said.

“If we make a decision to file charges … then Ms. Lane will be provided counsel, and I’m sure her counsel will review whether mental health issues should be raised,” Garnett said, responding to a question about the suspect’s state of mind.

Citing state records, the Denver Post said Lane had been a certified nurse’s aid but that her license expired in 2012. It also published a link to an online baby registry in the name of a Dynel Lane from Colorado, with a due date of Nov. 14, 2014.