Leo the labrador managed to wake up Joanna Mellor's boyfriend after she suffered a heart attack
A woman's life was hanging in the balance after she had a heart attack - but was saved by her dog making an SOS call.
Joanna Mellor, 24, went into cardiac arrest while she was sleeping and stopped breathing.
But the beauty therapist's intuitive labrador, Leo, knew something was wrong and started barking to wake up Joanna's 27-year-old boyfriend Andrew Rayment.
Andrew dialled 999 and performed CPR on Joanna until paramedics arrived and she was taken to hospital.
Incredibly, medics said Joanne's heart had stopped for 30 minutes before Andrew managed to resuscitate her after she collapsed on January 2 at their home in Ilkeston, Derbys.
Joanna has since been diagnosed with Wolff-Parkinson-White (WPW) syndrome, a condition in her heart causing regular palpitations, but has made a full recovery.
She said: "I owe my life to my dog and my boyfriend.
"If Leo hadn't woken Andrew up I might not be here today.
"I remember going to bed and drifting off the sleep and the next I know I'm in intensive care in hospital and told I'd suffered a heart attack.
"The doctors say I was technically dead because it took Andrew 30 minutes to get my heart started."
"Andrew said he woke up with Leo barking and jumping up at my side of the bed and going mad," Joanna continued.
"He says he could tell something was wrong with me and dialled 999 and the operator talked him through CPR.
"At first the doctors said I might be at risk of brain damage and I couldn't feel my legs and one of my hands was all limp but I've now made a full recovery."
Andrew added: "I was half asleep when Leo woke me up.
"I heard Joanna's breathing becoming erratic and I tried to wake her and tapped each side of her face, but she was unconscious so I called 999.
"My first thought was that I didn't want to waste the paramedics' time but when I was on the phone her breathing went from in and out to every few seconds.
"I tried not to panic and to stay focused. I kept thinking that the only chance she has relies on me doing the CPR properly."
Rescue crews from East Midlands Ambulance Service dashed to the scene in under 15 minutes before rushing her to the Queen's Medical Centre in Nottingham.
Paramedic Glenn Radford said: "I've been on the job for 14 years and I've never seen anything like it.
"When people suffer cardiac arrests, quite often they are left with neurological problems.
"They don't usually make a 100 per cent recovery."