A woman in Scotland was sentenced to three and a half years of imprisonment Thursday after she left her dying daughter on the sofa to go to a pub.

The court heard Sharon Goldie willfully ill treated her daughter, 13-year-old Robyn Goldie, from July 2017 to July 2018, during which she hit the child, bit her and spat on her. She also failed to ensure her daughter attended school and allowed her to drink alcohol and smoke cannabis.

The girl developed peritonitis due to a perforated stomach ulcer and was feeling unwell in the week prior to her death. The woman stopped her from seeking medical help and on the day of her demise, she gave her a painkiller and went to the pub.

"Your daughter was in pain that afternoon, you gave her a painkiller and went to the pub. By the time you came home she was slumped on the sofa but you and your friend went into the garden to have a drink because the weather was nice. She was dead an hour later," Lord Beckett told Goldie while sentencing her, BBC reported.

The woman had also pleaded guilty to exposing her to unhygienic living conditions.

"Even if your daughter could sometimes be challenging and difficult, she was subjected to a terrible ordeal of neglect and ill treatment by you over a long period. You had enough money to provide food for your daughter but chose not to and purchased alcohol and cannabis, you gave this to your daughter instead of adequate nutrition," Lord Beckett added.

Meanwhile, the attorney representing Goldie told the court she had suffered a serious traumatic brain injury when she was nine years old which allegedly affected her cognitively and physically.

"This is a lady who clearly has difficulties both mentally and physically, impacting on her ability in how to view things and the consequences of actions or omissions and I think that lies at the root of her culpability in this case. There is no punishment this court can impose that will be greater than the one she is suffering just now as a result of her actions, the death of her child," solicitor advocate Marco Guarino told the court.

handcuffs-3655288_640
Representational image of a handcuff. Pixabay