Parents Kate and David Ogg were told that nothing could be done to save one of their newborn twins after he was delivered.
The couple thought they had lost him and in desperation, cuddled tiny Jamie close thinking it was the last time they would hold him.
But incredibly their body warmth seemed to revive him and the little boy started moving and his breathing grew stronger.
Hospital staff rushed to help the newborn and managed to bring him back to life.
The couple, from Queensland in Australia, had been trying to get pregnant for some time and were overjoyed when they found out Kate was expecting twins.
But, although the pregnancy started out well, after six months Kate was rushed to the delivery room.
Jamie was born first on March 25, 2010 and his sister Emily followed two minutes later.
Both babies were born in the amniotic sac and while Emily started wailing when it was torn over Jamie didn't make a sound.
But the couple quickly realised something was wrong when about 20 medical staff crowded around Jamie.
The baby had stopped breathing and his heartbeat was nearly gone.
And after a frantic 20 minutes they stopped trying to save him.
The doctor sat on the end of Kate's hospital bed and asked if they had a name picked out.
The couple were told there was nothing more they could do to save Jamie.
Kate said she saw her baby gasp but the doctor told her it was no use so the despairing mum took the boy in her arms and asked everyone to leave.
The baby's body was cold so she tried to keep him as warm as possible.
Kate told David to take his shirt off and climb into the bed.
Although she knew it was probably pointless she had to do everything she could to try and save her tiny son.
The desperate couple enveloped their tiny baby with their body warmth as they cradled him in the hospital bed.
Kate told the Mail: "We were trying to entice him to stay. We explained his name and that he had a twin that he had to look out for and how hard we tried to have him.
"He suddenly gasped... then he opened his eyes. He was breathing and grabbing Dave's finger.
"If we had let the doctor walk out of the room with him, Jamie would have been dead."
When Emily found out her twin brother had almost died she burst into tears and kept hugging Jamie.
Kate said her children love to talk about when they were babies and their younger brother Charlie tells everyone about Jamie's incredible birth.
Amazingly Jamie has not encountered a single medical problem in his five years despite serious concerns the lack of oxygen when he was born could have led to cerebral palsy.
But instead the family feel extremely lucky all of their children are happy and healthy.
They have set up an online community called Jamie's Gift which fundraises for the Miracle Babies foundation which supports sick and premature babies.
Dave has signed up to take part in an Iron Man triathlon in May in Port Macquarie when he will swim 3.8km swim, bike 180km and run a marathon.
Watch mum Kate's personal account of their amazing story here....
More on Parentdish: Miracle baby brought back to life by mum's cuddles