German police say a 45-year-old woman has admitted killing several of the eight babies whose bodies were found at an apartment in the northeast Bavarian town of Wallenfells.

Upper Franconia police said in a statement Saturday that the unnamed woman confessed after her arrest in a nearby village late Friday. A judge on Saturday ordered the woman detained on suspicion of seven counts of murder. A 55-year-old man who was with her was released without charge.

Police said investigators were still trying to determine how the babies — which had been wrapped in towels and plastic bags — died and who their father — or fathers — are.