Grammy-winning rapper Cardi B resolved a yearslong criminal case stemming from a pair of brawls at New York City strip clubs by pleading guilty Thursday in a deal that requires her to perform 15 days of community service

Cardi B a New York City local whose genuine name is Belcalis Almanza

pleaded guilty to third degree assault and reckless endangerment both misdemeanors stemming from the August 2018 fights

Cardi B appears in Queens County Criminal Court in New York on Thursday

In one fight chairs bottles and hookah pipes were thrown as the group argued with a bartender

and another employee had minor injuries

In 2019 Cardi B rejected a plea deal

said Cardi B adding that she wanted to set a good example for her two children

Cardi B SAID I’ve made some bad decisions in my past that I am not afraid to face and own up to

These moments don’t define me and they are not reflective of who I am now she added