Sir Paul McCartney brought the 2012 London Olympics opening ceremony to a close in style, leading the massive crowd assembled in Olympic Stadium in a sing-along to the Beatles hit "Hey Jude."

McCartney, 70, brought down the house during his two-song set of "The End" and "Hey Jude," the latter of which can be viewed in the video below.

McCartney got the crowd to sing along to "Hey Jude," creating one of the most magical moments of the Danny Boyle-directed opening ceremony.

The Washington Post described McCartney's performance as "a rousing and repetitive conclusion to a rousing and erratic Opening Ceremonies," which included James Bond actor Daniel Craig escorting Queen Elizabeth in a hilarious pre-recorded skit.

The 70-year-old Beatle began his performance with "The End," a song from "Abbey Road." McCartney cowrote the song with John Lennon, and it includes the famous verse "and in the end, the love you take is equal to the love you make."

In closing the 2012 London Olympics opening ceremony, McCartney played "Hey Jude," a song devoted to Lennon's son Julian, from the Beatles' 1968 album "Hey Jude."

Watch Paul McCartney performing "Hey Jude" during the 2012 London Olympics opening ceremony below: