Beatles Tribute Recruits Ed Sheeran, Imagine Dragons, Katy Perry And Pharrell

John Mayer, Dave Grohl and Johnny Depp were also on hand Monday night for taping of Beatles special, which will air February 9.

Ed Sheeran has accomplished a ton in his short career. He's toured with bestie Taylor Swift, had a hit record and recorded a tune for "The Hobbit."

But when Paul McCartney scrawled some praise on his bass guitar Monday night, Ed lost his mind. "Well this wasn't the worst way to end a Monday," Sheeran wrote just hours after he joined a bunch of other stars for the taping of the Recording Academy of America's upcoming Beatles tribute, "The Night That Changed America: A Grammy Salute to The Beatles."

Even though Sir Paul called him "brilliant," Ed still tried to play it cool after playing an acoustic version of "In My Life" for the two-hour special that will air on February 9. "Playing a gig with the Beatles tonight," he wrote. "Casual."

He probably wasn't the only guest freaking out a bit during the taping, where John Legend and Alicia Keys sang "Let It Be," Katy Perry took on "Yesterday" and boyfriend John Mayer jammed on "Don't Let Me Down" with Keith Urban, according to the Associated Press.

Pharrell Williams and Brad Paisley tackled "Here Comes the Sun," (his giant Grammy hat made a cameo), Imagine Dragons did "Revolution," Foo Fighter Dave Grohl teamed up with ELO's Jeff Lynne for "Hey Bulldog," the reunited Eurythmics took on "Fool on the Hill," Stevie Wonder jammed at his keyboard on "We Can Work It Out" and Maroon 5 played "All My Loving" and "Ticket To Ride."

See Katy Perry, Ed Sheeran And More At The Beatles Tribute!

Ringo Starr got the audience hyped with a "Yellow Submarine" sing-along, according to USA Today and McCartney shut things down with "Magical Mystery Tour," "Birthday" and "Get Back." The Beatles bandmates then got together to close it down with "With a Little Help From My Friends" and "Hey Jude."

The show celebrates the 50th anniversary of the band's debut on "The Ed Sullivan Show" on February 9, 1964. Among the guests on the show are Sean Penn, Johnny Depp and Anna Kendrick.