Rapper Vic Mensa, who performed at March for Our Lives, convicted of gun crime in 2017

William Cummings | USA TODAY

Rapper Vic Mensa, who joined several other celebrities to perform on stage at Saturday's March for Our Lives protest in Washington, D.C., was convicted of a gun crime in California last year.

Mensa, whose real name is Victor Kwesi Mensah, pleaded guilty July 10, 2017, to carrying a concealed firearm and was sentenced to two years probation, according to Los Angeles County court documents.

The rapper was pulled over Feb. 28, 2017, for running a stop sign in Beverly Hills, TMZ reported after the arrest. Police found a loaded firearm in the car. Although Mensa had a license to carry in another state, the permit was not valid in California. After his arrest, Mensa was released on $35,000 bail.

Beverly Hills police accused Mensa of stealing from Barney's department store in 2016. Mensa strongly denied the charges.

"It's like, you can't be a young black man out here doing anything — legal, positive, and you still get treated like a criminal," he said in a video shot while he was being detained for the alleged theft.

At Saturday's march, Mensa dedicated his song, Now We Could Be Free, to "Stephon Clark, Decynthia Clements and all the unarmed black men and women killed by police weapons," the Associated Press reported.

Much of Mensa's work is politically driven and the performer has spoken out against police brutality, been highly critical of President Trump, and took part in the 2016 protests against an oil pipeline in Standing Rock, N.D.