Former President Obama shared a story in California on Saturday about a time he was kicked out of Disneyland while in college.

Obama told a crowd in Anaheim while campaigning for local Democratic candidates about a time when he and several friends — who were in California for a Kool & The Gang concert — were booted out of the theme park after they were caught smoking on a ride.

"So we came down, me and a bunch of friends. After the concert, because we were teenagers you could still sort of hang out in the park, and we got in the gondolas," Obama told the crowd.

ADVERTISEMENT

"And I'm ashamed to say this, so close your ears, young people. A few of us were... smoking," Obama said, while miming the act. After the crowd began cheering, he clarified: "No, no, these were cigarettes, people."

"They escorted us out of Disneyland," Obama continued. "I was booted from the Magic Kingdom."

"I was booted from the Magic Kingdom." Obama tells California crowd about his rebellious college visit to Disneyland https://t.co/HvrbzYN89C pic.twitter.com/agYVhZowlZ — CBS News (@CBSNews) September 8, 2018

Disney CEO Bob Iger responded to Obama in a tweet, joking that the former president was welcome back at the park anytime, provided he didn't light up a cigarette, which park rules state are only allowed in designated areas.

"@BarackObama just opened his speech in Anaheim with a story from his college years about getting kicked out of Disneyland for smoking cigarettes on a ride," Iger wrote. "He can always come back, as long as he doesn't smoke!"

@BarackObama just opened his speech in Anaheim with a story from his college years about getting kicked out of Disneyland for smoking cigarettes on a ride. "This is a true story everybody, I was booted from the Magic Kingdom!" He can always come back, as long as he doesn't smoke! — Robert Iger (@RobertIger) September 8, 2018

Obama appeared Saturday alongside seven Democratic congressional candidates, attempting to rally voters ahead of the November elections.

Democrats need to net at least 23 seats to take back control of the House, while Republicans are defending a 51-49 seat majority in the Senate.

Obama, who delivered a speech Friday in Illinois condemning President Trump Donald John TrumpOmar fires back at Trump over rally remarks: 'This is my country' Pelosi: Trump hurrying to fill SCOTUS seat so he can repeal ObamaCare Trump mocks Biden appearance, mask use ahead of first debate MORE, took several veiled shots at the president on Saturday.

"If we don’t step up, things can get worse," he told the crowd in California.