A woman lured her former girlfriend for a countryside dog walk before attacking her with a hammer.
Chloe James, 27, had been in a four-year relationship before the pair split up - and she took their pet dog. A court heard James offered to meet her ex in a remote spot under the ruse to take dog Ted out for one last walk.
After the walk, James tried to hug her ex - but she responded by saying she had to go.
Georgina Buckley, prosecuting, told Swansea Crown Court James said she had something for her former partner in the car but was "embarrassed" to hand it over so asked her to turn around.
When the woman's back was turned, James retrieved a claw hammer from the boot of the car and hit her over the head with it repeatedly.
The defendant, of Glanamman, Carmarthenshire, was spared jail though, as her 22-month jail term was suspended on Friday.
She admitted actual bodily harm.
The judge was told the attack was only stopped when by chance as another car drove past and James' victim was able to seek help.
She was treated in hospital for bruising and lacerations to her ears and scalp but tests showed no skull fractures.
James' victim said the attack had left her "struggling in everyday life" with headaches, flashbacks and nightmares and that she felt she may never get over what happened.
Andrew Evans, defending, said James was "genuinely remorseful" for what happened.
In addition to the suspended sentence, James must carry out a rehabilitation course and pay her victim £750 in compensation.