A Utah grandmother accused of leaving her meth pipe in her 8-year-old granddaughter's backpack has pleaded guilty to child endangerment and drug charges.

Police say the 59-year-old told investigators she was smoking meth shortly before helping the girl with her reading homework in Washington Terrace, Utah, and put the pipe in the bag by accident.

Court records show she pleaded as part of a deal with prosecutors who dropped two other charges in exchange. Her lawyer declined to comment Friday.

She was charged after a teacher discovered the pipe inside a plastic baggy on Oct. 21.

Authorities say they found drugs and paraphernalia near children's toys at the family home.

The girl's parents were also charged with felony child endangerment and have pleaded not guilty.