A householder was alerted to an intruder in her home by her dog when she was woken up by the noise of it barking a judge was told.
The brave woman looked downstairs and saw burglar Nigel Wilde in the hallway of her Blackpool home.
She ordered him out, but Wilde, who was under the influence of a legal high, kept moving further into the address claiming he wanted to sleep there.
Wilde eventually agreed to leave and was found in an alley at the back of the address by police, surrounded by clothing and some trainers he had stolen from the property.
Wilde, 35, of Withnell Road, South Shore, pleaded guilty to burgling an address in the resort’s Peter Street, stealing £170 worth of items.
He was refused bail and remanded in custody to appear for sentence on September 2 at Preston Crown Court by District Judge Jeff Brailsford sitting at Blackpool Magistrates’ Court.
The judge told him: “The lady in the house was no doubt scared witless when the dog barked and she saw you in there.”
Prosecutor, Martine Connah, said a woman was asleep in her home on Peter Street when she was woken by her dog barking on August 8 at 6.30pm.
She saw Wilde in the hall and told him to leave.
At first he refused, but she eventually managed to get him out. Wilde had two previous convictions for burglary and was on bail for drug possession at the time of the offence.
Steven Townley, defending, said Wilde went in thinking he was going to sleep at the property.