ALTOONA (AP) — A central Pennsylvania woman will spend 60 days to two years in jail for hog-tying her 5-year-old grandson to a chair so she could go to a methadone clinic.

The Altoona Mirror reported Evelyn Himes, 49, of Duncansville, was sentenced Wednesday after pleading no contest to endangering the welfare of a child and simple assault.

Police charged Himes after the boy’s pre-school called county social workers after noticing a mark on his wrist. The boy told investigators he’d been tied down and investigators later determined Himes bound him with scarves. Himes claimed the boy was badly behaved and reminded the judge the court had given her custody of the boy.

Blair County Judge Jolene Kopriva told Himes that the boy has been well-behaved since he was placed in foster care and called Himes “misguided.”