FILE PHOTO - Diamond Reynolds, girlfriend of Philando Castile, weeps as people gather to protest the fatal shooting of Castile by Minneapolis area police during a traffic stop on Wednesday, in St. Paul, Minnesota, U.S. on July 7, 2016. REUTERS/Adam Bettcher/File Photo

The Minnesota woman who streamed images of her boyfriend as he lay bleeding to death after being shot by a policeman during a traffic stop said on Tuesday she showed the video because she did not trust police.

Diamond Reynolds, who streamed the immediate aftermath of the July 2016 shooting on Facebook Live, said during emotional testimony at the Ramsey County District Court in St. Paul, Minnesota, that she was afraid for her 4-year-old daughter, who was in the vehicle’s back seat when the shooting occurred.

“I know people are not protected against the police,” she said. “I feared for my daughter’s safety and my safety because a gun was pointed in our car.”

The killing of Philando Castile, 32, by St. Anthony Police Department officer Jeronimo Yanez, who was charged with second-degree manslaughter, sparked national outrage and triggered weeks of protests in St. Paul and Minneapolis.

The shooting in the St. Paul suburb of Falcon Heights during a traffic stop, like similar incidents across the United States, fueled public debate about appropriate use of force by law enforcement against minorities.

Yanez fired his gun because Castile was reaching for a weapon he disclosed he had, Yanez’s attorney, Paul Engh, said during opening arguments on Monday.

Engh said Yanez, who will testify and previously pleaded not guilty, feared for his life. Engh said the police dashboard camera video of the stop showed Castile ignored two commands about not reaching for or pulling out his gun.

On Tuesday, Reynolds, 27, dabbing her eyes with a tissue and sometimes sobbing, said she was “broken, hurt, confused, lost.”

The police video, as well as Reynolds’ Facebook post, were played in court. Yanez fired seven shots, hitting Castile five times, including twice in the heart, prosecutors said.

Yanez has said he was justified in stopping Castile’s car because he resembled a suspect in a convenience store robbery, according to court documents. Castile’s vehicle also had a broken brake light.

After Castile was stopped, Yanez asked him to present his driver’s license and insurance card. Castile disclosed he was carrying a licensed handgun. The exchange took just over a minute and Castile’s permit to carry a gun was later found in his wallet.

In response to questions by Yanez’s attorney, Reynolds said she and Castile smoked marijuana a lot, but not every day. Marijuana was found in the car.

(Reporting by Todd Melby; Editing by Dan Grebler and Diane Craft)