A two-year-old California boy was recovering after getting bitten in the face by his family's pet Rottweiler on Saturday.

Los Angeles County sheriff's officials said they responded to the house shortly before 1.30 p.m. local time (4.30 p.m. EDT) Saturday. The boy and his father were attacked by the dog and the child was rushed to the hospital with non-life threatening injuries. The father was bitten in the arm while trying to separate the dog and the child. However, he refused to go to the hospital.

Witnesses said the incident took place while the boy and his father were walking the dog outside the house. The family members had managed to chain up the dog to the tree by the time the first responders arrived.

Describing the moments post the attack, neighbor Julie Hart said, "There were people carrying the guy out, and they set him on the curb. There was blood all over his arm, and then the lady came out holding the baby, and the baby was screaming. They wrapped up the baby's head," ABC 7 reported.

Neighbors said the dog appeared calm post the attack. They said they were shocked by the incident as they never thought the dog was aggressive.

The Southeast Area Animal Control Authority took the dog into custody while the case was under investigation. Meanwhile, the boy was listed in a stable condition.

Rottweiler | Representational Image Getty Images/ FRED DUFOUR

The incident came a few days after another two-year-old California boy was mauled to death by a pair of Rottweilers. Jaysiah Chavez was in front of his home when the dogs dug out of their owner’s yard and jumped on the boy. The boy’s grandmother too was bitten when she tried to fight off the dogs. First responders reached the home and tried to revive the child but to no avail. Chavez was taken to a nearby hospital where he was pronounced dead. The dogs were taken into custody by the Central California Society for the Prevention of Cruelty to Animals and were set to be euthanized, the New York Post reported.