On Sunday just after 12:30am, Abbotsford Police were conducting routine patrols in a closed business complex within the 31900 block of South Fraser Way.
Officers located a group of people congregating on the property and proceeded to investigate.
As officers approached the group in their unmarked police vehicle, a female emerged from the group and pointed a firearm toward the officer's vehicle and fired, striking the police vehicle's windshield, and causing minor damage.
Officers immediately exited their vehicle identifying themselves as police officers and conducted a high-risk arrest.
The female complied with the officer's direction and dropped the firearm, later determined to be a pellet gun. 49-year-old Tammy Gray of Abbotsford has been charged with Assaulting a Peace Officer, Possessing a weapon for a dangerous purpose, and Mischief.