A former gang member says he knows the identity of Tupac's killer, but won't give up their identity because of the "street code".

Keefe D - born Duane Keith Davis - says that the shots “just came from the backseat" of the car he was in, which was driving around looking for revenge on 7 September 1996 after Tupac's entourage had beaten up one of their number. Tupac was hit with four shots in the drive-by shooting and died six days later at the age of 25.

A Netflix documentary, Unsolved: The Tupac and Biggie Murders, features a confession recorded by Davis under immunity from prosecution. Davis has previously admitted his involvement in another recent documentary, Death Row Chronicles.

"I was a Compton kingpin, drug dealer, I’m the only one alive who can really tell you the story about the Tupac killing," Davis says in the tape.

"People have been pursuing me for 20 years, I’m coming out now because I have cancer, and I have nothing else to lose. All I care about now is the truth."

The most popular theory had gone that Tupac and his entourage, already caught up in the war between the Bloods and Crips gangs, beat up a member of the Crips, Orlando 'Baby Lane' Anderson, after having watched a Mike Tyson fight at the MGM Grand in Los Angeles. Davis and his associates then drove around looking for Tupac, and spotted him when a group of fans moved toward his car.

"All the chicks was like ‘Tupac’, and he was like, ‘Hey’, like a celebrity, like he was in a parade," Davis said in the interview. "If he wouldn’t even have been out the window we would have never have seen him."

An LAPD investigation into the killing later named Anderson as the man who shot Tupac, but the producers of the new documentary want further action to be taken.

"He [Davis] went live on television and confessed to being an accessory to murder and the Las Vegas PD, as far as I know, is doing nothing about it. I just think it’s outrageous," said Unsolved's executive producer Kyle Long.