BROOKLYN CENTER, Minn. (AP) The police officer who fatally shot a Black man during a traffic stop in a Minneapolis suburb apparently intended to fire a Taser, not a handgun, as the man struggled with police, the city’s police chief said Monday.

Brooklyn Center Police Chief Tim Gannon described the shooting death Sunday of 20-year-old Daunte Wright as “an accidental discharge.” It happened as police were trying to arrest Wright on an outstanding warrant. The shooting sparked violent protests in a metropolitan area already on edge because of the trial of the first of four police officers charged in George Floyd’s death. Gannon resigned on Monday.

“I’LL TASE YOU! I’LL TASE YOU! TASER! TASER! TASER! “HOLY (EXPLETIVE)! I SHOT HIM.”

“I’ll Tase you! I’ll Tase you! Taser! Taser! Taser!” the officer, Kim Potter is heard shouting on her body cam footage released at a news conference. She draws her weapon after the man breaks free from police outside his car and gets back behind the wheel. Potter retired on Monday.

After firing a single shot from her handgun, the car speeds away, and the officer is heard saying, “Holy (expletive)! I shot him.”

President Joe Biden urged calm on Monday, following a night where officers in riot gear clashed with demonstrators. The president said he watched the body camera footage. “We do know that the anger, pain and trauma amidst the Black community is real,” Biden said from the Oval Office. But, he added, that “does not justify violence and looting.” The governor instituted another dusk-to-dawn curfew, and law enforcement agencies stepped up their presence across the Minneapolis area. The number of Minnesota National Guard troops was expected to more than double to over 1,000 by Monday night.

While dozens of officers in riot gear and troops guarded the Brooklyn Center police station, more than 100 protesters chanted Wright’s name and hoisted signs that read “Why did Daunte die?” and “Don’t shoot.” Some passing cars flew Black Lives Matter flags out of their windows and honked in support.

Organizers from the Movement for Black Lives, a national coalition of more than 150 Black-led political and advocacy groups, pointed to Wright’s killing as yet another reason why cities must take up proposals for defunding an “irreparably broken, racist system.”

Wright “should not have had his life ripped from him last night. The fact that police killed him just miles from where they murdered George Floyd last year is a slap in the face to an entire community who continues to grieve,” said Karissa Lewis, the coalition’s national field director.

Gannon said at a news conference that the officer made a mistake, and he released the body camera footage less than 24 hours after the shooting.

The footage showed three officers around a stopped car, which authorities said was pulled over because it had expired registration tags. When another officer attempts to handcuff Wright, a second officer tells Wright he’s being arrested on a warrant. That’s when the struggle begins, followed by the shooting. Then the car travels several blocks before striking another vehicle.

“As I watch the video and listen to the officer’s command, it is my belief that the officer had the intention to deploy their Taser but instead shot Mr. Wright with a single bullet,” Gannon said. “This appears to me from what I viewed and the officer’s reaction in distress immediately after that this was an accidental discharge that resulted in the tragic death of Mr. Wright.”

A female passenger sustained nonlife-threatening injuries during the crash, authorities said. Katie Wright said that passenger was her son’s girlfriend.

The state Bureau of Criminal Apprehension was investigating.

Hennepin County Attorney Mike Freeman said any decision on charges against the officer will be made by the Washington County attorney under an agreement adopted last year by several county prosecutors aimed at avoiding conflicts of interest. Freeman has been frequently criticized by activists in Minneapolis over his charging decisions involving deadly use of force by police.

Gannon would not name the officer or provide any other details about her, including her race, other than describing her as “very senior.” He would not say whether she would be fired following the investigation.

“I think we can watch the video and ascertain whether she will be returning,” the chief said.

Court records show Wright was being sought after failing to appear in court on charges that he fled from officers and possessed a gun without a permit during an encounter with Minneapolis police in June. In that case, a statement of probable cause said police got a call about a man waving a gun who was later identified as Wright.”

Wright’s mother, Katie Wright, said her son called her as he was getting pulled over.

“All he did was have air fresheners in the car, and they told him to get out of the car,” Wright said. During the call, she said she heard scuffling and then someone saying “Daunte, don’t run” before the call ended. When she called back, her son’s girlfriend answered and said he had been shot.

Brooklyn Center Mayor Mike Elliott called the shooting “deeply tragic.” “We’re going to do everything we can to ensure that justice is done and our communities are made whole,” he said.

Wright’s family hired civil rights attorney Ben Crump, who represented the Floyd family in its $27 million settlement with the city of Minneapolis.

“This level of lethal force was entirely preventable and inhumane,” Crump said in a statement. “What will it take for law enforcement to stop killing people of color?” Speaking before the unrest Sunday night, Wright’s mother urged protesters in Brooklyn Center, a city of about 30,000 people on the northwest border of Minneapolis, to stay peaceful and focused on the loss of her son.

Biden referred to her comments on Monday, saying “we should listen to Daunte’s mom calling for peace and calm.” The president said he had not yet called the family but that his prayers were with them.