Man Says He Was Nearly Electrocuted While Lying in Bed With iPhone: 'It Was God Who Saved Me'

He drove himself to the doctor after the accident.

An Alabama man is speaking out about the possible dangers of charging your cell phone near your bed after he was nearly electrocuted last week while sleeping.

Wiley Day, 32, said he was in his Huntsville bed with his iPhone charging and attached to an extension cord when he was awoken by extreme pressure.

Read: Woman Crushed By Own Car in Drive-Thru in 'Freak Accident'

Day said the dog tag around his neck had touched the cord, resulting in an extreme shock around his neck.

"I woke up to feeling a jolt," Day told InsideEdition.com. "[It] threw me out of bed… I heard a bunch of cracking and popping and of course you can hear the actual buzz sound."

Day’s niece ran into the room after she heard his screams.

“She heard me yelling, 'Jesus help me,'" Day said.

And Day believes he did. He somehow managed to drive himself to the doctor even after suffering third degree burns to his neck and hands.

"I shouldn’t have made it because of the voltage I had taken around my vital area in my neck. It was just a blessing all the way around," Day said.

Doctors reportedly told Day that the electricity from the shock entered through his chest and exited through his shoulder.

Read: 14-Year-Old Dies After Being Pinned Under Log at Beach While Snapping Pictures With Friends

"My doctors told me that it was just a freak accident — it was a one in a million chance," Day said. "I want people to be aware of the dangers of charging electrical devices and things overnight in your bed."

Day is now recovering and said some days have been better than others. He is beginning to feel the pain of the burns, but said he is just happy to be alive.

"It was God who saved my life. I know that no one else could have stepped in and saved me," said Day. 

Watch: Father of 4 Left Paralyzed After Being Hit By Freak Wave on Family Vacation