Dante de Blasio hit the campaign trail for his father in Indianapolis on Friday, delivering brief remarks in which he praised the mayor and ex-President Barack Obama and took a swipe at President Trump.

“Like many people in this room, I spent my formative years under the Obama presidency,” the first son said at the event, hosted by Indiana Young Democrats, adding that he was “nostalgic” for that time now that Trump is in the White House.

The “optimism” of the Obama years has been replaced by what he called the “cynicism” of the Trump era.

“We can deliver change and break this culture of cynicism,” he said in his remarks, which lasted less than 10 minutes.

His speech was preceded by a campaign video featuring Mayor Bill de Blasio and first lady Chirlane McCray extolling what they called their accomplishments, including universal pre-K and expanded health care for New Yorkers.

Mayor de Blasio barely registers in polls as he pursues his longshot candidacy for the Democratic presidential nomination.