A California jury unanimously agreed to clear rapper and entertainer Cardi B of assault allegations on Tuesday.

Cardi B, whose real name is Belcalis Marlenis Almánzar, was hit with a $24 million civil lawsuit by a former security guard, Emani Ellis, who alleged that the star spat on her and scratched her nose during an altercation in 2018.

A Los Angeles jury found that Ellis could not prove the elements of assault, negligence or emotional distress.

During the trial last month, Cardi testified that she was keeping her pregnancy with her first child under wraps when she went for an appointment with an obstetrician in Beverly Hills. She said Ellis, who was working security for the building, followed her and recorded her on video.

“I told her, ‘Why are you recording?’” Cardi testified. “And she said, ’Oh my bad.’ She practically apologized.”