A convicted Calderdale burglar was linked to one of his latest crimes at a home in Greetland by the GPS tracker tag he had agreed to wear.
Halifax man Dean Sherratt, 25, was locked up again for night-time attacks on two occupied properties after a judge heard how he had also left a drinks can with his DNA on it at the scene of another burglary.
READ MORE NEWS: Todmorden man jailed for 20 years after machete-wielding robbery on money van driver
Bradford Crown Court heard how Sherratt, of no fixed abode, had served lengthy jail terms in 2013 and 2015 for previous house burglaries and his solicitor advocate Andrew Walker said his client had little recollection of the latest crimes committed in May this year.
Prosecutor Paul Nicholson told the court how a mother was woken at her home in Ravenstone Drive, Elland, in the early hours and saw someone crouched in her bedroom.
READ MORE NEWS: Drunk mum jailed for driving damaged car over Pennines at 80mph
The defendant ran from the house and stole a car key leaving the complainant feeling shaken and scared by the invasion of her home.
Sherratt, who was later linked to that offence by the DNA on the drinks can, went on to burgle another home in Rochdale Road, Greetland, while a couple were sat in their living room.
READ MORE NEWS: Royal British Legion issues warning over fake poppy merchandise and how you can spot it
Mr Nicholson said after hearing a noise the male householder went to investigate and saw the defendant run out of the property.
He said Sherratt had willingly submitted to a scheme in which a tag was fitted to his ankle for the police to keep track of him and it showed him in the immediate vicinity at the time of the burglary.
Sherratt pleaded guilty today to two burglary charges and the Recorder of Bradford Judge Jonathan Durham Hall QC sentenced him to 876 days in jail under the so-called three strikes legislation.
Mr Walker conceded that Sherratt must have been under the influence of something at the time of the burglaries because he had very little memory of the events.
"He has written a letter which I have to say is extremely lucid expressing his true sorrow and regret for the distress and upset he has caused his victims," said Mr Walker.
He said Sherratt had been working with the drug and alcohol recovery team while on remand in HMP Leeds.
Judge Durham Hall explained that Sherratt faced a minimum jail term of three years for the burglaries but his guilty pleas meant it could be reduced to 876 days.
Keep up-to-date with all the latest news and breaking incidents in Halifax - join our dedicated Facebook group here.