A drunken burglar who failed to get into a Corsham house he was trying to raid has been jailed for nine months.

The householder only found out he had been broken into when he turned his TV on in the morning and found his satellite dish had been moved.

Burglar Jamie Solari had knocked the receiver as he made his escape over a wall at the site of the large detached house.

But not only did Solari fail to get away with anything but he also left traces of blood behind as he broke a window to try to get in.

Hannah Squire, prosecuting, told Swindon Crown Court on Friday that the break-in took place at the house in Corsham on the night of Thursday, August 28.

Solari, 33, had scaled a seven foot wall next to the house in the Pickwick area of the town, where he damaged the satellite dish.

"The first thing the householder noticed something was wrong was his television was not working when he got up in the morning," she said.

When he went to investigate she said he found that a window in the utility room had been smashed by the intruder.

Miss Squire said that it was clear that the burglar got in through a log store and was trying to get into the house.

But she said that the security features the householder had fitted to the building had kept him out.

She said traces of blood were found and forensic tests showed it came from the defendant.

When he was questioned a month later Solari said he was an alcoholic and had been staying with someone in Corsham and could only recall going to the pub that night.

But Solari, of Broadwood Avenue, Corsham, pleaded guilty to a charge of burglary.

Chris Oswald, defending, said his client was very drunk at the time of the incident but had not wasted the court's time by denying the allegation.

"It is worth noting that there were several valuable pieces of machinery laying about which were not touched," he said.

"This shows incompetence rather than a deliberate and concerted attempt to get into the premises."

He said while the occupants were in the house they were not disturbed by Solari.

Judge Peter Blair QC imposed a nine month jail term.