Photo may have been deleted

A Michigan man was shot and killed when he posed as an underage girl to confront alleged child predators.

Robert Lee, 40, of Pontiac, was known as a vigilante “pedophile hunter” who identified men who prey on underaged girls online.

Lee, a.k.a. Boopac Shakur, was beloved by his tens of thousands of followers on Facebook.

Lee would often pose as a 15-year-old girl online to catch predators after arranging to meet. His aggressive confrontational style was recorded in viral videos on Facebook.

He often slashed the pedo’s tires to prevent him from fleeing the scene.

Police say he confronted 2 males — ages 22 and 17 — at the Universal Coney Island restaurant in Pontiac around 10:30 p.m. on Friday night.

Lee punched the 17-year-old who pulled a knife. The other male produced a gun and shot Lee multiple times. They fled the restaurant after the shooting, but were later captured by police.

Lee died at a local hospital, according to the Oakland County Sheriff’s Office.

“There were 2 people at the table, One he was mostly focused on and talking to and became heated with was not the individual who shot him. It was the other person on the opposite side of the table,” said Oakland County Sheriff Michael Bouchard in a statement.

“His one-man crusade has led to the arrest and criminal charges being filed against several men,” Sheriff Bouchard said. “He has also mistakenly identified someone as a sexual predator who was not.”

He added: “While we certainly understand his desire to hold child predators accountable, many times well-intentioned individuals who engaged in this don’t know the standard of evidence required for convictions and often underestimate the potential for violence confronting a suspected predator.”

A GoFundMe account raised over $7,000 toward Lee’s funeral expenses.

Watch the video below.