He may be a senator now, but former “Saturday Night Live” writer Al Franken hasn’t forgotten how to deliver a joke.

Franken took to the podium at the Democratic Convention Monday night to take some well-scripted jabs at Donald Trump — especially his Trump University, which is the target of a lawsuit alleging that it ripped off students with unsuccessful strategies for making a fortune in real estate.

Calling himself a “senator and world-renowned expert in right-wing megalomaniacs,” Franken said he got his own doctorate in megalomaniac studies from Trump University.

“Sure, I had to empty out my 401K and take out a reverse mortgage on my house,” he quipped.

Franken joked that students learned from “success experts like Scott Baio, Mike Tyson, and of course, a life-size cardboard cutout of Mr. Trump himself.

“Now, of course Trump University wouldn’t be Trump University without its business school. Their bankruptcy program in particular is known throughout the real estate community for its creativity,” the comedian continued.

He added: “The pride of Trump University is its library located on a shelf on the third floor of Trump Tower. All of Mr. Trump’s bestsellers are available for sale at a special rate for students, which is 10 percent higher than the retail price.”

With that, Franken delivered a full-throated endorsement of Hillary Clinton, saying he had known her for 25 years and couldn’t wait to call her “Madame President.”

DNC: Scenes From a Bernie Sanders Rally (Photos)

Democrats boasted that their convention would be unified, unlike the occasionally messy Republican National Convention. But Bernie Sanders supporters made sure people arriving by train at the Wells Fargo Center in Philadelphia would know that they didn't stand with Hillary Clinton.

The party seemed confident that Sanders and Clinton supporters could come together for the convention -- but that was before leaked Democratic National Convention emails suggested the DNC had favored Clinton's campaign over the Vermont senator's.

Inside the hall, the party presented a message of unity. Outside, that wasn't the vibe. The crowd included liberal Democrats unhappy with Clinton, people who only got involved in the political process to support Sanders -- and people who just want a cleaner political process.

Some Sanders supporters said they still hoped Bernie could be the Democratic nominee, perhaps because of the scandal over the leaked DNC email.

Kelly Brooks and Jordan Stevens traveled from Lansing, Michigan, to support Sanders. "He's not out. Not until the delegates vote," said Brooks, 27 (left). Stevens, 23, said Clinton is trying to get women to vote for her "just because she's a woman ... and I think that's the exact opposite of feminism."

Brooks is considering voting for Green Party candidate Jill Stein. "Bernie or Jill but never Hill," she said. "And if Trump gets elected I'm gonna have to move to Canada."

The rally included causes not directly related to the question of whether to support Clinton or Sanders.

Some of the most vocal protesters chanted that they were undocumented and unashamed.

A Philadelphia rally wouldn't be complete without an appearance by this classic "Always Sunny in Philadelphia" character. The Green Man endorsement will be crucial in the 2o16 presidential race.

1 of 9

Sanders supporters turn out in force in Philadelphia

Democrats boasted that their convention would be unified, unlike the occasionally messy Republican National Convention. But Bernie Sanders supporters made sure people arriving by train at the Wells Fargo Center in Philadelphia would know that they didn't stand with Hillary Clinton.