BAKERSFIELD, Calif. (KBAK/KBFX) — UPDATE:
The family has told Eyewitness News that the intruder, Andrew Oldham, knew the woman and had been stalking her.
Documents obtained by Eyewitness News confirmed that the victim did have a restraining order against Oldham.
He is the cousin of her husband.
Oldham started contacting the victim and messaging her back in March, saying "...you can't keep ignoring me" and "if you don't talk to me I'm going to [EXPLICT] explode."
The victim and her husband both told Oldham to stop contacting her.
According to the documents, Oldham replied to the husband saying “this has nothing to do with you.”
The victim filed the restraining order on April 19, 2019.
The Eyewitness News team has learned that the intruder broke a window and gained access to the house.
The woman got the gun from a locked safe and fired once at the intruder.
There were five little girls in the house at the time.
The Kern County Sheriff's Office responded to an attempted robbery Wednesday morning.
The attempted robbery took place at 8:14 in 3100 block if Montello street.
The intruder forced his way in the home and was armed with a hammer.
A woman and children were home at the time.
The woman armed herself with a gun and fired one shot at the male intruder.
The intruder sustained minor injuries and was taken to the hospital.
The woman and children are safe.
The intruder has been identified as Andrew Oldham, 33.