An Inverness city centre resident took his dog out for a walk and returned to find two intruders in his home
Easier access to your trusted, local news. Have a look at our brand new digital subscription packages!
Inverness Sheriff Court heard that Michael MacLennan tackled one of the men while the other escaped the property in Friars Street.
Neighbours phoned police who arrested Peter MacAllister (42). He appeared in court by video link before Sheriff Eilidh Macdonald and admitted breaking in, stealing a mobile phone and attempting to steal a number of electrical items.
Sentence was deferred for a background report and MacAllister was again remanded until November 22 for his next appearance.
Defence solicitor Willie Young told the court that his client was on a 30-month drug treatment and testing order and was still getting regularly tested while on remand.
He reserved further comments until next month.
Fiscal depute Martina Eastwood said that Mr MacLennan had left his home with his dog at about 6pm on July 11, leaving the bedroom window open but on a security lock.
However MacAllister, described as an Inverness prisoner, and another unknown man overcame the lock and entered the property.
Mrs Eastwood said Mr MacLennan tackled MacAllister as he tried to get out of a window.