NAPA COUNTY, Calif. – A man sitting in a suspicious vehicle, rolled his window down, drew a handgun and opened fire on a deputy before she returned fire, graphic video released Wednesday by the Napa County Sheriff in Northern California shows.

The Sheriff’s Office said in a Facebook post the incident occurred about 11 p.m. on Sunday along a rural road near Napa.

“It’s graphic, it’s brutal, it’s sudden,” Napa County Undersheriff Jon Crawford said at a news conference.

Napa County Sheriff’s Deputy Riley Jarecki was on patrol when she came across 43-year-old Javier Hernandez Morales sitting in the parked car she deemed suspicious. Jarecki then proceeded to walk over to the other side of the vehicle and asks Morales to roll down the window, reported KTVU.

In the video, Morales complies but then fires at least one round at Jarecki and misses. Jarecki radios for help, retreats to the car’s passenger side and returns fire, unloading her weapon and killing Morales.

Officials said in addition to the handgun he fired at the deputy, Morales had a loaded .22-caliber rifle in the car.

“We are extremely proud of her, she did a great job, her dad’s very proud of her,” Napa County Sheriff John Robertson told KTVU

Jarecki was sworn in as a Napa County Deputy just six months ago, and her father is a sergeant with the department. Her grandfather also served with the Napa Police Department, reported FOX News.

“When you’re in that situation, when you’re in a gun battle, you want to win,’ the sheriff told KTVU. “And she did beautifully, she did what she was trained to do.”

Morales has a criminal history that includes arrests for DUI, assault on an officer and weapons violations, according to police.

Jarecki was not injured but per normal protocol has been placed on administrative leave.

The shooting remains under investigation by the Napa County Major Crimes Task Force.