A British Columbia man received the chance of a lifetime on Thursday when he performed a duet alongside legendary singer Paul McCartney.

Gregg Anderson, a postage clerk from Grand Forks, B.C., sang alongside the former Beatle during the sound check of his Thursday concert at the Barclays Center in Brooklyn, N.Y.

The pair belted the Beatles’ 1969 single “Get Back” together on stage.

“I did a little Paul McCartney thing at one point and he looked at me and went: ‘Oh, yeah,” Anderson told CTV News. “And that’s when he backed off and let me sing the second verse.”

“The emotions that came out of me were just pure joy.”

Anderson was able to participate in the duet after winning a contest through Omaze, which raises money for charitable causes. They offer tantalizing prizes such as a wine tasting with Jennifer Lawrence and platinum seats to an NFL game.

Anderson’s $50 donation to the David Lynch Foundation, which helps fund meditation programs for “at-risk” groups such as prison inmates and students, earned him a ballot in the draw. He found out he won on Monday.

Anderson said he couldn’t really hear what McCartney said during their brief interaction. However, he did ask to touch the singer’s famous Hofner base, if only for a second.

“He just went ‘Oh, here you go,’ and put it on me.”

Anderson thanked McCartney for the decades of music that helped him through some tough times he’s experienced over the years.

“It got emotional for me and out of the blue he just hugged me,” he said.

"I lost my dad a few months ago. It's been a crappy year and this has really made it better. And I'm pretty sure dad has something to do with it. He's up there laughing and smiling with us now."

With a report from CTV Vancouver’s Andrew Weichel.