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."

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!"

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 TrumpDonald John TrumpSunday shows preview: Trump sells U.N. reorganizing and Kavanaugh allegations dominate Ex-Trump staffer out at CNN amid “false and defamatory accusations” Democrats opposed to Pelosi lack challenger to topple her 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.