Prosecutors have dropped a domestic battery charge against Naya Rivera nearly two months after she was arrested for allegedly attacking her husband, according to TMZ.

The former Glee star was taken into custody in Nov. 2017 after she reportedly struck Ryan Dorsey on the head during an argument over their 2-year-old son. The Kanawha County Sheriff's Department told the publication that Dorsey had provided officers with a video of the alleged attack, which took place over the Thanksgiving weekend in Chesapeake, West Virginia. Prosecutors told TMZ they decided to drop the misdemeanor against Rivera because Dorsey no longer wanted to pursue charges.

Just days after her arrest, it was revealed that the 31-year-old actress had filed for divorce. She and Dorsey tied the knot back in 2014, only months after she and Big Sean called it quits.

According to legal documents obtained by the Blast, Rivera and Dorsey were granted temporary joint custody of their child while their legal teams draft a permanent plan. As a part of the deal, Dorsey agreed to “not to pursue any criminal action in connection to the December 2017” incident. The documents did not clarify what “incident” took place during that month.

Rivera made her first red carpet appearance since filing for divorce on Monday when she attended the 2018 Winter Television Critics Association Press Tour in Pasadena, California. The actress was there to promote her upcoming YouTube series, Step Up: High Water.