Roderick Thomas, 26, of San Francisco was found guilty by a jury on May 2 of first degree murder in the death of Jahmad Karriem in April 2012, District Attorney's Office spokesman Max Szabo said in a statement.
Thomas was also found guilty of a firearm enhancement and first-degree residential burglary.
On April 1, 2012, Thomas broke in to the home of an aspiring rapper and marijuana dealer, Szabo said, and Karriem, who was visiting the home, walked in on the robbery. A shootout ensued. Karriem was shot and killed.
A police investigation of cellphone records placed Thomas at the scene and in a number of interviews with police, Thomas made several statements that led to his arrest and conviction.
Thomas was out of custody on bail at the time for a similar armed robbery of a marijuana dealer in Daly City.
District Attorney George Gascón lauded the jury’s verdict.
“This is a violent man who was a threat to public safety,” he said. “He has no regard for life, and San Francisco is a better place with him off the streets.”