LONDON — Beatles legend Sir Paul McCartney has confirmed he will close the opening ceremony at the London Olympics.

It had long been rumored that McCartney would be performing in the July 27 event and he confirmed earlier this year that he was in talks with organizers.

“I’ve been booked,” the 69-year-old told BBC Radio 5 on Monday night, ending the speculation.

He added that he would be “closing the opening.”

The full lineup is yet to be announced for the ceremony, which is being overseen by “Slumdog Millionaire” director Danny Boyle.

A cast of about 15,000 is expected to feature in the opening and closing ceremonies for both the Olympic and Paralympic Games.

The Olympics will run from July 27 to Aug. 12.