Rock band Foo Fighters did not give Donald Trump鈥檚 campaign permission to play one of their songs at a recent campaign rally, a representative for the band said, and they plan to donate any royalties from the unauthorized use to Vice President Kamala Harris鈥 campaign.

On Friday, Foo Fighters鈥 song 鈥淢y Hero鈥 was played at a campaign rally for Trump in Arizona, according to taken at the event and shared to social media.

A spokesperson for the band, however, said in a statement to CNN on Sunday that the group didn鈥檛 give Trump鈥檚 campaign the green light to use their hit 1997 rock anthem.

鈥淔oo Fighters were not asked permission, and if they were they would not have granted it,鈥 the statement from the representative said, adding that any royalties the band received 鈥渁s a result of this use will be donated to the Harris/Walz campaign.鈥

Harris鈥 running mate is Gov. Tim Walz.

This is not the first time a recording artist has disputed the use of their music at a rally for the Republican presidential candidate.

Earlier this month, Celine Dion issued a statement criticizing Trump鈥檚 鈥渦nauthorized鈥 use of her 1997 鈥淭itanic鈥 ballad 鈥淢y Heart Will Go On鈥 at a rally in Montana.

鈥淚n no way is this use authorized, and Celine Dion does not endorse this or any similar use,鈥 a statement posted to her social media pages at the time said.

The statement added a joking jab at the campaign鈥檚 musical choice: 鈥淎nd really, THAT song?鈥

On Sunday, Harris鈥 campaign said that it has raised US$540 million since she launched her just over a month ago. This week, Harris and Walz will kick off a bus tour in Georgia, a key battleground state.