"The Mandalorian" actress Gina Carano, who took legal action against Disney and Lucasfilm following her 2021 firing, has reached an agreement with her former studio bosses.

Carano, who starred as bounty hunter Cara Dune in the Star Wars-themed Disney+ series, revealed in an Aug. 7 X post that she reached a deal with The Walt Disney Company and production company Lucasfilm in her lawsuit against the companies over her termination from the sci-fi show.

Disney fired Carano, 43, for "abhorrent and unacceptable" language after the actress drew online controversy for sharing social media posts that mocked transgender rights, criticized COVID-19 vaccine mandates and mask wearers, questioned the results of the 2020 U.S. presidential election, and likened the treatment of conservatives to Jews in Nazi Germany during the Holocaust.

Carano filed a lawsuit in February 2024, claiming she was fired because she went against an "online bully mob who demanded her compliance with their extreme progressive ideology," The Associated Press and The Hollywood Reporter reported at the time.

Carano filed a joint motion with Disney and Lucasfilm on Aug. 7 to dismiss her lawsuit with prejudice, according to court documents filed in the U.S. District Court for the Central District of California and obtained by USA TODAY. Carano, who now won't be able to refile the case, called the legal resolution "the best outcome for all parties involved," adding, "I hope this brings some healing to the force."