iStock

In olden times, people were sometimes buried with little strings in their coffins. These strings were connected to bells that hung above ground, just next to the person's grave.

This was done because many people were mistakenly being diagnosed as dead and could later wake up after being buried! The bell was like an alarm system to let people know they were still alive, and workers would then have to rush to dig them back up.

Nowadays, we like to think that advancements in medical science make it impossible for doctors to be wrong about that sort of thing, but misdiagnosis of death can still happen!

A 29-year-old man named Gonzalo Montoya Jimenez was pronounced dead by three different doctors. Jimenez was a prisoner, found unresponsive on the floor of his cell in a Spanish prison.

The guards took his body for an autopsy, where he was placed in a body bag and left for a few hours while the autopsy was prepared.

Then, someone heard him snoring!

He was "ready to be opened up," according to his family, but doctors were startled to see that Jimenez was actually still alive the whole time.

He was taken to the Central University Hospital of Asturias in Oviedo, where he is currently under observation. He has woken up and has been asking about his family, which doctors believe is a good sign that he hasn't suffered any serious brain damage.

It is believed that this was a case of catalepsy, in which a patient shows all the regular symptoms of death: unresponsiveness, no reaction to pain, slowing down of bodily functions, muscle stiffness, etc.

Jimenez's family say he may not have been given his epilepsy medication while behind bars, which could have triggered some kind of episode.

The case is still under investigation, but it's a pretty creepy one! It's just lucky that someone noticed the man snoring before doctors starting performing their autopsy!