SOQUEL -- A wanted mother of three whose husband was gunned down in August was shot Sunday after firing at deputies who responded to her family's home in the Soquel Hills, the Santa Cruz County Sheriff's Office said.

Amanda Sloan, 30, was shot in the leg and is expected to survive, deputies said.

Deputies were looking for Sloan after she allegedly fired a shot at a Capitola police officer out the sunroof of a BMW she was driving during a pursuit on Nov. 11.

Last week, after being urged to surrender, she told her mother she was crazy and was planning to "commit suicide by cop."

Sheriff's Lt. Fred Plageman said deputies responded to the Nicasio Way home in the Soquel Hills about 11:45 a.m. Sunday after getting a call that Sloan had returned to the home where her mom lives and where Sloan and her family were living until recently.

Three uniformed patrol deputies were setting up a perimeter and waiting for back-up when Sloan fired a gun from the home off Laurel Glen Road, Plageman said.

She then came outside and pointed the gun at herself before swinging it toward a deputy in a threatening manner, "ignoring repeated commands to submit to lawful arrest," Plageman said.

One deputy fired multiple rounds from his issued rifle, striking Sloan in the leg, he said.

She was taken into custody and transported to an undisclosed area trauma center. Authorities said an air ambulance landed at Happy Valley Elementary School.

Deputies recovered the handgun at the scene and interviewed witnesses, Plageman said.

No one else was hurt, he said.

The involved deputy will be placed on routine administrative leave pending an investigation, Plageman said.

Sloan is in custody on suspicion of attempted murder and other charges stemming from her alleged shooting at Capitola police, and sheriff's investigators anticipate recommending additional charges from Sunday's incident, he said.

Plageman declined further comment.

"We have parallel criminal and administrative investigations in progress at this time, and we will provide further details when we are able to do so," he said.

Sloan was in stable condition later Sunday, deputies said.

Her husband, 28-year-old Jeffrey Stephensen Smith, was shot and killed Aug. 16 in the driveway of the Nicasio Way home.

Investigators have named a suspect -- Colin Sean Tisdale of Scotts Valley, who is in jail on drug allegations -- but no murder charges have been filed against him.

In the Nov. 11 chase that sparked Sunday's confrontation, Sloan allegedly shot at a Capitola police officer who was pursuing her on Old San Jose Road.

The officer had stopped a 2001 BMW 330ci on 41st Avenue in Capitola and when he approached the car window, the driver, Sloan, allegedly started screaming at him and then sped off, police said.

A short time later, she allegedly fired a round at the officer through the sunroof, police said.

Police obtained an arrest warrant for Sloan on allegations of attempted murder of a police officer and other felony offenses, carrying a bail of $900,000.

Last week, authorities said Sloan had obtained a private attorney and might turn herself in.

Instead, Sloan called her mother on Wednesday and told her she was "crazy," and would demonstrate that by committing "suicide by cop."

Authorities were notified after Sloan's call and emergency dispatchers broadcast a countywide "be on the lookout."

"She's considered armed and dangerous and an officer safety risk," deputy April Skalland said last week. "She has a history of assaulting officers."

Sloan's criminal record includes two convictions for battery on a peace officer.

One of those convictions came after she was arrested May 12 in the Seacliff area on suspicion of felony meth possession, resisting arrest and battery of a police officer, according to records. In that case, Sloan kicked the door of a patrol car and hit a deputy in the face with a handcuffed wrist, according to the Sheriff's Office.

Sloan pleaded guilty to misdemeanor charges related to the battery, her public defender said.

Child Protective Services took Sloan's three children into protective custody last week, said Capitola Police Chief Rudy Escalante. Her youngest is a 20-month-old girl.

Police said they were tipped off this week that Sloan was in Santa Cruz and Aptos.

"We are working with every agency to try and find her," Escalante had said Thursday. "Turning herself in peacefully would be the best thing for everybody involved, especially her children."