Los Angeles (CNN) -- Rapper M-Bone of the group Cali Swag District died Sunday night in what police said was a drive-by shooting in his hometown, Inglewood, California.

M-Bone, whose real name was Montae Talbert, was sitting in a car in the 400 block of North LaBrea Avenue when a car pulled up next to his and someone fired two rounds that struck the rapper in his head, Inglewood Police Lt. Steve Overly said Monday.

Talbert, 22, died later at a hospital, Overly said.

Preliminary reports on the model of car that was involved have not been confirmed, he said.

Cali Swag District's biggest hip-hop hit came in 2010 with the song "Teach Me How to Dougie."

Greg Miller, the rap group's representative, said Talbert was "the victim of a random act of violence."

The rapper "was an inspiration to his family, friends and fans," Miller said. "He was a hardworking, passionate artist and dancer who will be sorely missed."