More On:

The baby-mama ex of Damon Dash wept on the witness stand Thursday, describing her hellish night in jail after the hip-hop mogul had her arrested.

Meanwhile, Dash directed his ire at the reporters in court for the hearing, bizarrely branding them “racist.”

“They had me cuffed and treated me like a criminal,” Dash’s ex, Linda Williams, 49, said through tears during testimony in a $1 million civil case against Dash, 42.

“I was in that jail cell. It was scary. The food was horrible,” she said of the 2009 incident.

Dash had claimed Williams sent him 20 harassing e-mails, violating a 2001 family court order not to contact him.

But Williams says she only communicated with Dash about their son, Damon “Boogie” Dash Jr., and claims Dash had her arrested to prevent Jr. from getting a protection order against his father.

The trial appeared to unhinge a scowling Dash, who repeatedly tried to provoke Post reporter Julia Marsh, until he was yelled at by Judge Louis B. York, “Leave that woman alone!”

“I can’t look? There’s nothing wrong with looking,” Dash argued back.

The Roc-A-Fella Records co-founder later fled the courtroom, calling the press “racists,” then waited outside to videotape reporters while yelling, “Why don’t they ever write good stories about black men? They’re racists!” as he stalked the journos for two blocks.