Pink Floyd is releasing its first new music in almost three decades to raise money for the people of Ukraine, the band announced Thursday.

"Hey Hey Rise Up" features Pink Floyd members David Gilmour and Nick Mason, with vocals from Ukrainian singer Andriy Khlyvnyuk of the band BoomBox.

MIRANDA LAMBERT ON LAS VEGAS RESIDENCY AND HER MUSIC MILESTONES

The track features Khlyvnyuk singing a patriotic Ukrainian song from a clip he recorded in front of Kyiv’s St. Sophia Cathedral and posted on social media.

Gilmour, who performed with BoomBox in London in 2015, said the video was "a powerful moment that made me want to put it to music."

David Gilmour performs in the ancient Roman amphitheater of the Pompeii archeological site, Italy, on July 7, 2016. (AP Photo/Gregorio Borgia, File)

After Russia’s invasion, Khlyvnyuk cut short a tour of the U.S. to return to Ukraine and join a territorial defense unit.

Gilmour said he spoke to Khlyvnyuk, who was recovering in a hospital from a mortar shrapnel injury, while he was writing the song. He said: "I played him a little bit of the song down the phone line and he gave me his blessing. We both hope to do something together in person in the future."

EMMY AWARDS AIR SEPT. 12, NOMINEES TO BE ANNOUNCED IN JULY

The song is being released Friday and the band says proceeds will go to the Ukraine Humanitarian Relief Fund.

"We want to express our support for Ukraine, and in that way show that most of the world thinks that it is totally wrong for a superpower to invade the independent democratic country that Ukraine has become," Gilmour said.

Pink Floyd

The members of Pink Floyd, from left, Nick Mason, Dave Gilmour, Rick Wright and Roger Waters in August 1968. (Michael Ochs Archives/Getty Images)

Pink Floyd was founded in London in the mid-1960s and helped forge the U.K. psychedelic scene before releasing influential 1970s albums such as "The Dark Side of the Moon," "Wish You Were Here" and "The Wall."

CLICK HERE TO GET THE FOX NEWS APP

Original member Roger Waters quit in 1985, and the remaining members of Pink Floyd last recorded together for the 1994 album "The Division Bell."