A heroin addict who, along with his partner was found unconscious in a parked car with a young child in the back, has been jailed.
The three-year-old boy had been taken for a day out by the couple.
Ian Gallacher, 28, and his partner Dawn Smith, also a heroin addict, were found slumped in the car which was parked on a driveway in Fife.
After taking drugs, Smith had driven the car with the child in the back.
Gallacher later brandished a bottle at passers-by who were concerned at finding them unconscious.
He became aggressive when a woman took the keys from the car because of the condition they were in.
The court previously heard that at around 6.50pm a woman was informed that somebody appeared to have left a car in her driveway.
She went to the scene and found a black Vauxhall Corsa with two people slumped in the front of the vehicle.
The couple, of Balquhatstone Crescent, Falkirk, both admitted a charge of wilful neglect of the boy and exposing him in a manner likely to cause unnecessary suffering or injury and neglect by not being in a position to care for him properly whilst being unfit through drugs. The incident took place on April 11.
Gallacher previously also admitted at Hill Road, Ballingry, he behaved in a threatening or abusive manner by shouting, swearing, acting in aggressive manner and brandishing a glass bottle causing fear and alarm.
He also admitted giving a false name to police officers in an attempt to pervert the course of justice.
Defence solicitor Billy Hendry said: “Both of them are disgusted by what happened that day.
“In the last few years he (Gallacher) stupidly got himself a heroin habit. It is a serious amount of drugs he has been taking on a daily basis.”
Sheriff Charles Macnair told Gallacher his threatening behaviour was particularly serious when it came from “someone with your record of violence”. He jailed Gallacher for six months.
When Dawn Smith was taken to hospital she was found to have heroin concealed in a Kinder egg placed inside her body.
Smith, 29, admitted driving without a valid licence, driving while unfit to do so though drugs, neglecting the child by being in an unfit condition through drugs and being in possession of heroin at hospital.
However, she avoided a prison term and was put on a restriction of liberty order for six months and was disqualified from driving for a year.
Smith had admitted driving a car without a valid licence and while unfit to drive through drink or drugs.