UNDATED (AP)—Taylor Swift tied Michael Jackson’s record at the American Music Awards as she collected her 24th win and used her speech to thank her record label for allowing her to freely express herself as an artist.

Her remarks Sunday came amid a public battle between Swift and the men who own the master recordings of much of her music. Swift took the stage to sing a medley of her hits, performing at one point with Camila Cabello and Halsey, and accepted her artist of the decade award from Carole King.