US Sen. Elizabeth Warren on Sunday brought up the adult film star who goes by the name "Stormy Daniels" and ripped into President Donald Trump at the 2018 St. Patrick's Day roast in Boston.

Warren said she prepared for jokes at the breakfast about her looks and age at the roast, which features elected officials poking fun at themselves and each other before stepping over down the street to the annual parade.

"It's spring training for my 2018 re-elect [campaign]," Warren told the crowd gathered at the Ironworkers Local 7 union hall in South Boston.

Among the tips she received about what to say at the annual roast, Warren quipped, "Stormy Daniels said, 'If you don't say a word, they'll pay $130,000.'"

Daniels, whose real name is Stephanie Clifford, allegedly had an affair with Trump in 2006. Attorneys for Trump say she has violated a non-disclosure agreement in talking about the affair.

Warren also took aim at Mitt Romney, the former presidential candidate and Massachusetts governor who is running for US Senate in Utah. Romney, who has sometimes been critical of the president, has received Trump's endorsement via the president's Twitter account.

"It must make Mitt feel really important to know his endorsement was at 3 a.m. by a guy in a fuzzy bathrobe, eating a cheeseburger," Warren said.

Warren joined other elected officials from across Massachusetts on the stage, including Gov. Charlie Baker, Boston Mayor Marty Walsh, and US Sen. Ed Markey, among others.

Baker took a selfie with Warren on the stage and quipped, in an allusion to both of them being on the 2018 ballot, "I don't know if this hurts or helps either one of us."

The annual roast was hosted this year by two South Boston elected officials, Congressman Stephen Lynch, who previously hosted the breakfast, and Boston City Councilor At-Large Michael Flaherty.

Lynch and Flaherty took over for former Sen. Linda Dorcena Forry, who earlier this year left the state Senate and the hosting duties for an executive-level job at Suffolk Construction.

Attorney General Maura Healey acknowledged Dorcena Forry's hosting tenure, noting there were concerns, when she took over the breakfast in 2014, that the daughter of Haitian immigrants "maybe wasn't Irish enough."

"I don't think we can honestly question that now, look at how she ran after that pot of gold," Healey said.

"I couldn't resist," Healey added after the crowd clapped and laughed.