Kamaiyah ran into some trouble with the law back in May when she was arrested at Bradley International Airport in Connecticut for causing a "public disturbance." Now, she's reportedly pleaded guilty to the charges and will be issued a small fine and be required to write a letter of apology to the officers involved in her arrest.

Here's what went down. As Kamaiyah was passing through security, TSA attempted to inspect the bonnet she was wearing on her head, which she refused to allow them to do. Agents including a Connecticut state trooper then pulled her to the side and informed her that she wouldn't be able to pass through security unless she removed the bonnet, which led to the "Slide" rapper cursing out the officers. She was then arrested and charged with a misdemeanor breach of peace and interfering with police.

As a result of pleading guilty, the 26-year-old California native will be fined $50 and will have to write a letter of apology, according to Fox 51.

Kamaiyah addressed coverage of the case on Twitter this afternoon (Sept. 11) and claimed that officers harassed her and arrested her because she was "Black, intelligent and had a following."

She also said that local news reporters were removed from the court room after a judge believed Kamaiyah would speak out against the arresting officers. "The news reporters in Connecticut were put out of the court room and couldn’t record once the judge knew I would speak out against them on camera they didn’t want the backlash also I blocked cameras with umbrellas walking out of court that’s why they’re mad reporting whatever," she wrote.

In related Kamaiyah news, the 2017 XXL Freshman is set to perform this weekend at the 2018 Rolling Loud Bay Area festival. She'll be joined by artists like Wiz Khalifa, Travis Scott, Rae Sremmurd, Pusha-T, Gucci Mane and more for the second installment of the festival, which also takes place in Miami.

See Behind-the-Scenes Photos of Kamaiyah at 2017 XXL Freshman Shoot

More From XXL