A New York mom is accused of killing her daughter by feeding the little girl peanut M&Ms -- which she was severely allergic to, cops said.

Veronica Cirella, 31, of Plainview, pleaded not guilty Wednesday to second-degree murder in the death of her 8-year-old daughter Julie, who was found dead in her home on July 23 last year, CBS reported. The little girl, who had cerebral palsy, was found just hours before she was to be a flower girl in a cousin's wedding.

Cops found Cirella lying on the floor near her daughter's body. She had allegedly tried to kill herself with a cocktail of insulin injections and painkillers, and then attempted to strangle herself with an electrical cord according to News One. She also left a suicide note detailing the events leading up to her daughter's death.

"I had to give her a better life, which was to give her back to heaven," Cirella allegedly wrote. "She does not deserve to be in pain whatsoever. I don't mind going to hell because I took my life to give her a better life, which is in heaven where she can be free."

Cirella reportedly gave the girl the M&Ms as a treat for agreeing to participate in the wedding. Cops said that she knew her daughter was allergic to peanuts, and claims that she gave the girl a dose of Benadryl in order to counteract any allergic reactions before Cirella went to sleep.

Cirella's mother-in-law, Dolores Cirella, discovered the two when she checked in to see how the wedding preparations were going.

Cirella faces a life sentence for the alleged murder.