A Hawick woman who tried to rob a grocery shop with a golf club and a knife has been jailed for 16 months at Jedburgh Sheriff Court.
Natasha Murray, 26, was said to have been under the influence of drugs when she burst into Kat's Corner Shop in Hawick, and demanded money from assistant Katrina Yule.
She pleaded guilty to brandishing a knife at the female employee and swinging a golf club at her during the robbery bid.
The court was told that Ms Yule bravely managed to get hold of the club and was involved in a struggle with Murray before a member of the public heard her shout for help and Murray ran off.
She was later found by police hiding in a rolled up carpet in her living room.
Murray, of Howegate, Hawick, pleaded guilty to a charge of assault and attempting to rob the shop in Myreslaw Green on 7 July, and received a 400-day jail sentence.
She received another 120 days for spitting on an employee at the Tesco store in Galashiels in September, and stealing £94 worth of cosmetics, as well as behaving in a threatening or abusive manner.
Procurator fiscal Graham Fraser said that Murray's grandmother suspected she was under the influence of something on the day of the offence, and she left the house after a row with her grandfather.
Police recognised Murray from CCTV footage and visited her address where they found her hiding in a rolled up carpet in the living room.
Defence lawyer Ed Hulme said: "She has little recollection of what happened. There is precious little that can be said in mitigation. Her grandmother said she had never seen her in such a state."
Sheriff Peter Paterson described the grocery store incident as "shocking" and said there was no alternative to a custodial sentence.