Police officers can mistakenly draw their guns instead of their Tasers under high-stress situations because their ingrained training takes over, a psychologist testified Friday at the manslaughter trial of Kim Potter, the suburban Minneapolis officer who shot and killed Black motorist Daunte Wright.

Laurence Miller, who teaches at Florida Atlantic University, testified that the more someone repeats the same act, the less they have to think about it and there can be circumstances during a stressful situation in which someone’s normal reactions may be “hijacked.”

Also read: EXPLAINER: How does an officer use a gun instead of a Taser?

Miller testified on behalf of Potter, 49, who shot Wright during an April 11 traffic stop in Brooklyn Center after he pulled away from officers as they were trying to arrest him and got back into his car before Potter shot him. Body-camera video recorded her shouting “I’ll tase you!” and “Taser, Taser, Taser!” before firing once.

The death of Wright, a Black 20-year-old, set off angry demonstrations for several days in Brooklyn Center. It happened as another white officer, Derek Chauvin, was standing trial in nearby Minneapolis for the killing of George Floyd.

Also read: Explained: What’s behind ‘sordid’ evidence at Potter trial?

Besides arguing that Wright’s death was a tragic mistake, Potter’s attorneys have also said that she would have been justified in using deadly force to stop Wright from driving away and possibly dragging one of Potter’s fellow officers.

Prosecutors argue that Potter was an experienced officer who had been thoroughly trained in the use of a Taser, including warnings about the danger of confusing one with a handgun. They have to prove recklessness or culpable negligence in order to win a conviction on the manslaughter charges.

Miller said that when a person learns a new skill, memory of an old skill might override that, resulting in an “action error” in which an intended action has an unintended effect.

”You intend to do one thing, think you’re doing that thing, but do something else and only realize later that the action that you intended was not the one you took,” he said.

Also read: Key moments in the police shooting of Daunte Wright

Miller said it happens all the time and is often trivial, like writing the wrong year on a check early in January. There are also more serious examples of action error, such as when a doctor might use an old approach to treating someone even after being trained in a newer one, he said.

The person committing the error, “thinks they are performing one action when they are performing something else,” Miller said. When the intended result does not occur, they realize it, he said.

“If it’s a high-stress circumstance, extremely high arousal” the person is more susceptible to making a mistake that can put their life in danger, said Miller, who said the most typical example of “weapon confusion” is when an officer confuses a gun for a Taser.

He said it is called “slip and capture,” meaning that under a state of high arousal and hyper focus, the ability to choose the correct response slips away and is “captured” by the more baked-in knowledge that a person has had for a longer time.

Also read: Tiktok’s take on threatening trends; No proof of real threat found

Some experts are skeptical of the theory. Geoffrey Alpert, a criminology professor at the University of South Carolina who is not involved in Potter’s trial, has said there’s no science behind it.

On cross-examination, Prosecutor Erin Eldridge read to Miller from a 2010 article he wrote in which he described how police can avoid what he termed “one big mistake.” He wrote that many such mistakes are preventable through proper training and practice.

Eldridge said the term slip and capture has been termed “junk science” and has no foundation in the general field of psychology. Miller said the term is not common, but the theory behind it is.

The defense began its case on Thursday. Among those testifying was Potter’s chief at the time, Tim Gannon. Gannon called Potter “a fine officer” and said he “saw no violation” of policy by her in the traffic stop.

Gannon resigned two days after the shooting, saying he was essentially forced out because he wouldn’t immediately fire Potter. Potter resigned the same day.

Gannon testified that it appeared to him from dashcam video that Sgt. Mychal Johnson, who was assisting in the stop, was “leaning into” Wright’s car. He said it was his opinion that deadly force was reasonable.

Use-of-force expert Stephen Ijames, a former assistant police chief in Springfield, Missouri, testified Thursday that officers were legally bound to arrest Wright after discovering he had a warrant for an outstanding weapons violation.

Ijames, who said he wrote the Taser policy for the International Association of Chiefs of Police, also said it was very unlikely that Wright could have driven away had Potter actually used her Taser. That contradicted a prosecution use-of-force expert who testified earlier that using either a gun or a Taser on Wright would have made things worse because he could have been incapacitated and his vehicle could have become a weapon.

After Potter shot Wright, his car took off and crashed seconds later into an oncoming vehicle, hurting his passenger and someone in the other car.

The case is being heard by a mostly white jury.