Foo Fighters frontman Dave Grohl has revealed that his collaboration with Paul McCartney was written in just three hours.
'Cut Me Some Slack' was premiered at the 12-12-12 Hurricane Sandy benefit show held in New York before Christmas, where McCartney fronted a reunited Nirvana to play the track.
Speaking to KROQ, Grohl called the Beatles legend "just the sweetest, nicest, most awesome person."
McCartney and Grohl had previously recorded some performances for Grohl's documentary on the iconic Sound City studios, in California.
Fleetwood Mac's Rumours and Nirvana's Nevermind are among the now legendary albums recorded at the studio.
Grohl later asked the former Beatle if he wanted to jam again.
"We walked in; we jammed the song. It just came out of nowhere," said Grohl. "The best songs happen that way."
"We recorded it live and put a vocal over it and that was it. It was three hours and it was perfect."
Eight months after they recorded the track Grohl asked McCartney if he'd perform the track at the Sandy benefit.
"You have to undertsand, one of the great things about playing with Paul McCartney or playing with Neil Young is that that generation of musicians, they cherish and respect and value the practice of just going into a room and coming up with something and jamming and making it a song," Grohl explained.
"There's not like seven songwriters and seven producers and digital technology or whatever. It's like peopel getting in a room."
Speaking about the Sound City documentary, Grohl said: "The intention of the movie is really to inspire the next generation of kids to appreciate the simple human quality of music.
"You don't have to do the TV show; you don't have to be perfect."
Listen to Grohl and McCartney's collaboration, 'Cut Me Some Slack', below.
The Sound City soundtrack will feature Grohl's collaboration with Slipknot's Corey Taylor, 'From Can To Can't', which was unveiled yesterday.
Grohl's recently formed 'supergroup', Sound City Players, also features Fleetwood Mac's Stevie Nicks, Chris Goss, Rage Against The Machine's Brad Wilk and members of the Foo Fighters.
Below: Foo Fighters headline Friday at Leeds Festival