Cardi B is going viral for her testimony amid a trial over the rapper's alleged violence toward a security guard.

The "Bodak Yellow" singer, 32, is accused by security guard Emani Ellis of assaulting her in the hallway of her Beverly Hills obstetrician's office in 2018. Cardi has admitted that the pair got into an argument and were chest to chest in the hallway, but denied that she assaulted Ellis, fighting back against the security guard's claim for $24 million in damages.

In a now viral clip on TikTok, the rapper, who took the stand earlier this week, can be seen recounting the incident, describing her expletive-laced confrontation with Ellis after she suspected the security guard had been recording her.

Cardi, known for her comedic timing and brash persona, brought that energy to the stand, often making faces during cross-examination as she was pressed on questions her lawyer told the court she had already answered.

Asked whether she was disabled at the moment of the altercation, in which she is accused of using her nail extensions to scratch Ellis' face, Cardi responded: "At that moment, when you're pregnant, I'm very disabled.

"You want me to tell you the things I can't do," she continued, to laughter from the courtroom. "I was pregnant. I couldn't protect myself, even if I wanted to. She's like twice my size."

In another clip, Cardi, jokingly flipping her hair over her shoulder, told the courtroom: "I was 130 pounds at that time." Asked if she thought Ellis was overweight, Cardi again looked around mockingly, seeming to imply that she did.

At the time of the incident, Cardi would have been pregnant with her and rapper Offset's first child, Kulture. The pair now share three children: Kulture, 7, Wave, 3, and Blossom, nearly 1. The couple has since called it quits.

Cardi's trial is expected to continue in Los Angeles as other witnesses take the stand.

This article originally appeared on USA TODAY: What is Cardi B on trial for? Rapper goes viral for testimony

Reporting by Anna Kaufman, USA TODAY / USA TODAY

USA TODAY Network via Reuters Connect