CARPINTERIA ( — A woman survived a bear attack in Santa Barbara County and is sharing her harrowing story with CBS2/KCAL9.

“Looking at him, I knew he could kill me in an instant. He was probably 300 pounds and six feet tall standing,” according to Carpinteria resident Emily Miles.

READ MORE: San Bernardino Investigators Say Loma Linda Sexual Predator May Have More Underage Victims That Have Not Yet Come Forward

Miles was on her daily walk with her dogs in an avocado grove when the black bear came bolting out at her.

She said the bear stood up and took swings at her.

The animal became more aggressive as she attempted to fight back.

“He sunk his teeth into my thigh. I was on my back, kicking with my feet, flailing and screaming at the top of my lungs,” Miles said.

READ MORE: Drone Video: Great White Sharks Off California's Coast Are More Common Than You Think

She made it to a friend’s house and was transported to a hospital.

“He spared me. And I thank God he did,” Miles said.

Officials with the State Department of Fish and Wildlife have set up traps to catch the bear and test it for rabies.

Miles said she hopes officials won’t kill the bear if they catch him.

MORE NEWS: 'Just Not Fair': Gascón Drops Bid For Death Penalty In Killing Of 10-Year-Old Anthony Avalos