President Obama lately has been speaking more frequently about life after the White House, but he might not have meant to on Thursday night.

At a fundraiser hosted by actor/filmmaker Tyler Perry in Beverly Hills, Calif., Obama slipped up and made it seem like he was a prisoner and not the president.

ADVERTISEMENT

“We should be reforming our criminal justice system in such a way that we are not incarcerating nonviolent offenders in ways that renders them incapable of getting a job after they leave office,” Obama said.

The star-studded audience broke into laughter and applause, and the president admitted he made a “Freudian slip.”

“Little slip of the tongue there. Little Freudian slip,” he said. “Tyler is going to give me a job once I leave.”

Obama recalled that President Clinton once joked that the White House “is the crown jewel of the federal penitentiary system,” prompting more laughter from the crowd.

The president spoke to around 250 people at Perry’s Tuscan-style villa during a fundraiser to benefit the Democratic National Committee. Supporters paid between $2,500 to $33,400 to attend.

Spotted in attendance were “Mad Men” creator Matthew Weiner and actress January Jones, former Dodgers owner Frank McCourt, former NBA player Jason Collins and Netflix Chief Content Officer Ted Sarandos.

Earlier in the evening, Obama attended a smaller gathering at the home of TV producer Chuck Lorre, where 30 people paid up to $33,400 to attend.

At Perry’s house, Obama addressed the mass shooting at a historic black church and how difficult it has been to break Washington gridlock. On issues like gun violence, immigration and helping the poor, Obama said he has “struggled against” a system that rewards polarizing politics instead of cooperation.

“It still is broken,” the president said.

“The problem is not that we don't know what works,” he said. “The problem is, is that too often, the political system doesn’t reflect the common sense and decency of the American people.”