Discuss as:

Philadelphia woman hit by stray bullet while sleeping in bed

View more videos at: http://nbcphiladelphia.com.

A woman in the Frankford area of Philadelphia is lucky to be alive after being hit by a stray bullet while she was in bed sleeping.

The 61-year-old victim, Theresa Williams, was hit in the head by a bullet that was fired from nearly a block away from her home, according to police.

They say that around 2 a.m. Friday, two men were robbing a 28-year-old woman on the 1700 block of Bridge Street when one of the suspect's guns went off while he was pistol-whipping the victim.

Read the original report  |  More from NBCWashington.com

The bullet traveled to the 5300 block of Charles Street, went through the home's walls and furniture and struck the victim in the head while she slept in her bed, resting for an upcoming surgery, investigators tell NBC10's Jesse Gary.

The woman was rushed to Hahnemann Hospital and treated for a graze wound to the head. She has been released and is recovering at home. 

"Fortunately this bullet was slowed down going through the wall and going through the furniture when it finally came to rest, striking her in the head," Philadelphia Chief Inspector Scott Small said.

Stay informed with the latest headlines; sign up for our newsletter

The suspects were arrested near Bridge Street. Police say they found evidence from at least four other robberies that occured late Thursday night and Friday morning.

The victim still plans on having a planned surgery on Monday.