A black man was fatally shot by a cop during a minor traffic stop in Minnesota — and the bloody aftermath was widely shared in a video in which the man’s anguished girlfriend, sitting by his side, said: “Police shot him for no apparent reason.”

The man, identified by friends as Philando Castile, 32, a school cafeteria worker from St. Paul, Minn., could be seen lying in the driver’s seat with his T-shirt drenched in blood.

St. Anthony interim police chief Jon Mangseth said the incident began when an officer pulled over a car around 9 p.m. Wednesday in Falcon Heights, a St. Paul suburb.

The girlfriend, Lavish Reynolds, who shot the horrifying 10-minute livestream with her phone, said they were pulled over at Larpenteur Avenue and Fry Street for a broken taillight.

The video was posted on a Facebook page belonging to Reynolds, but it was unclear if she sent the video to someone else to post.

A Facebook spokesman said the video was down briefly because of a technical glitch but was restored to the Lavish Reynolds page as soon as Facebook investigated.

The girlfriend said on the video that the cop “asked him for license and registration. He told him that it was in his wallet, but he had a pistol on him because he’s licensed to carry. The officer said, ‘Don’t move.’ As he was putting his hands back up, the officer shot him in the arm four or five times.”

The uniformed cop is seen holding a gun on the stricken man from outside the car, saying, “I told him not to reach for it. I told him to get his hand out.”

Philando’s grief-stricken sister said, “They killed my brother. They held a gun on him while he was hurting, and did nothing to help him.”

Philando’s cousin, Antonio Johnson, 31, said Philando graduated with honors from St. Paul Central High School, where he was a straight-A student.

He was “a black individual driving in Falcon Heights who was immediately criminally profiled and he lost his life over it tonight,” Johnson said, the paper reported.

Minnesota court records show only misdemeanors and petty misdemeanors on Philando Castile’s record.

The dead man’s family and friends held a prayer circle outside the hospital early Thursday.

Several relatives, including Valerie Castile, then walked to the Hennepin County medical examiner’s office to see Philando’s body, but were not allowed inside, said Nekima Levy-Pounds, president of the Minneapolis NAACP chapter, who accompanied them.

“The family has a number of concerns about what happened in this case,” Levy-Pounds said, the Star Tribune reported.

“They do not believe that the shooting was warranted in this case. Philando Castile was an upstanding citizen, according to all the reports that we’ve heard,” she said.

Levy-Pounds demanded that an independent agency be appointed to conduct the probe.

“We’re demanding justice; we’re demanding accountability,” she said. “We’re demanding a change to our laws and policies that allow these types of things to happen. Too often officers are taught to shoot first and ask questions last, and that’s completely unacceptable.”

Levy-Pounds told a crowd she has no faith in the system in the wake of this and other police shootings of black men, including last year’s killing of Jamar Clark in Minneapolis.