A raccoon attacked a 4-month-old baby in Philadelphia, clawing the little girl’s face and causing injuries that could take up to a year to completely heal.

The baby was dragged from her bed by the nocturnal mammal, the family told WXTF.

“I thought it was a nightmare when I heard over the phone. My heart dropped. I didn’t know what to say, what to think,” the girl’s father, Samuel Black, told WXTF.

Journi Black is on a long road to recovery following the attack on Wednesday night. Her father said it happened between 10 p.m. and 11 p.m. when her mother, Ashley Rodgers, got up to take their 6-year-old son to the bathroom in their one-bedroom apartment.

>> Read more trending news

Rodgers said she returned to find a horrific image.

"She was laying on the floor across the room — blood all over her face and her PJs," Rodgers told WXTF.

"It's just ridiculous," Samuel Black told KYW. "My daughter could have lost her life."

The father said the raccoon pulled the child from the bed onto the floor.

“My daughter was laying on the bed sleeping, and I went to take my son to the bathroom. We heard a sound upstairs, and we see a raccoon run down the steps,” Ashley Rodgers told KYW. “When I finally got to her, she was laying on the floor, so it had dragged her off the bed, across the room, and she was bleeding and crying, and her whole face was red.”

She was rushed to the hospital for surgery. The child's face needed 65 stitches, according to the family. She also got a rabies shot. A trap has been set out for the raccoon, KYW reported.

Residents say the apartment building is infested with the curious animals that become a nuisance as they pursue food at night.

Animal control officers set a trap for the raccoon in hopes of preventing another attack. Doctors told the family it will take at least a year for the baby to fully recover.

The family moved into the apartment Dec. 21.

City records show the property is owned by Jihad Simpson, and tax documents reveal that he owes $23,000 in back-taxes. The city, however, says Simpson is in a payment program is and up-to-date, WXTF reported.

KYW reported that a spokeswoman for the city’s Licenses and Inspections Department said the owner, who purchased the property in May, does not have a rental license and that, if he is renting rooms, he is doing so illegally.