H&M can't seem to get itself out of hot water. After catching heat for a racially insensitive photo on its website in January, the Swedish fashion brand is now apologizing after facing backlash for filing a lawsuit asking the court to declare that an artist's work has no copyright.

In a statement posted on Twitter, the company issued an apology and stated they would withdraw the lawsuit. "H&M respects the creativity and uniqueness of artists, no matter the medium. We should have acted differently in our approach to this matter," the statement read. "As a result, we are withdrawing the complaint filed in court."

The drama began when artist Revok, real name Jason Williams, sent H&M a cease-and-desist letter after a mural of his appeared in an ad for the company's New Routine workout clothes line. In his letter, Revok said the ad was an "unauthorized used of his original artwork" and could cause "consumers familiar with his work" to believe he was working with the company, GQ reports.

H&M eventually fired back with a lawsuit of their own, seeking the court to declare Revok has no copyright because his work was created illegally. "The entitlement to copyright protection is a privilege under federal law that does not extend to illegally created works," the letter stated.

As news of H&M's lawsuit began to spread, several artists began a campaign to boycott the company. The campaign obviously worked, as H&M is now trying to get in touch with Revok. "We are currently reaching out directly to the artist in question to come up with a solution," the statement continued. "We thank you for your comments and concerns, as always, your voice matters to us."

H&M's last public relations nightmare cause the company to lose its partnerships with The Weeknd and G-Eazy, who both cut ties with the fashion brand.

Check out H&M's tweet and Revok's mural below.

See New Music Releases for March 2018

More From XXL