A 12-year-old girl Friday was detained in Boulder for allegedly twice using bleach in attempts to kill her mother after she took away the girl’s iPhone.

Boulder County sheriff’s deputies were called to Boulder Community Hospital on March 6 after the girl allegedly tried to poison her mother on two occasions, said Cmdr. Heidi Prentup, spokeswoman for the department. The mother and her daughter were at the hospital.

Authorities have not named the juvenile, and The Denver Post does not name juveniles unless they are charged as adults.

On March 2, the girl’s mother felt ill after her daughter allegedly placed bleach in a breakfast smoothie she made. The woman smelled an odor of bleach in the drink but assumed her daughter had cleaned the glass and failed to properly rinse it.

Later that week, the girl allegedly poured bleach into a water carafe her mother kept in her bedroom.

When the woman confronted her daughter about the bleach, the girl admitted she had hatched a plan to kill her for taking away her iPhone.

The sheriff’s office completed its investigation Friday, and the girl was taken into custody at the Boulder County Juvenile Center.

Investigators have turned the case over to the Boulder County district attorney’s office. Formal charges have not been filed.