An armed man was foiled in his attempt to rob a Bolton chip shop when the owner's partner threw a hot bowl of mushy peas at him, a court has heard.
Kieran Naylor, 21, of Monks Lane, Breightmet, hit the owner of the Breightmet Lucky Supper Bar with a hammer in September 2006.
Bolton Crown Court heard how he slipped on the peas that landed on the floor.
He was given a three year prison sentence after pleading guilty to assault with intent to commit robbery.
The couple, who are both in their 60s, were serving two regular customers at the chip shop when the attempted robbery took place.
Naylor, who was wearing a mask, tried to hit the owner several times, with the hammer. Two blows landed on his head.
After he fell on the peas, Naylor tried to open the till, but the couple threw a pan of boiling water at him and he ran from the shop.
Naylor suffered burns to his arm, chest and neck.
In addition to the three year prison sentence, he was also given six months to run concurrently for breaching an Anti Social Behaviour Order (ASBO).