Rep. Barney Frank (D-Mass.), speaking at his final convention before he retires at the end of his term, ditched his prepared remarks on Thursday at the Democratic National Convention and instead attacked GOP presidential nominee Mitt Romney's single term as governor of Massachusetts.

Smiling a bit as he took the podium, Frank quipped, "Nice of them to leave a gavel for me to make me feel nostalgic."

Frank cited Romney's middling job creation record in Massachusetts. "So if in fact if Mitt Romney's private sector experience makes him the superhero of job creation, we would've seen that in Massachusetts."

"Under Mitt Romney we got no help, under Mitt Romney we got no jobs," Frank said, speaking about the district he represents, which includes the declining southern Massachusetts industrial towns of New Bedford and Fall River.

Frank drew a comparison between "Mitt" Romney and "Myth" Romney. If the latter had been governor, he said, Frank would be riding the Commuter Rail to Boston from New Bedford.

"He did the Democrats a favor -- not the state. After four consecutive Republican elections ... he gallantly let his lieutenant governor take the fall and the Republicans haven't won an election for statewide office," he said, adding, "for state office," a clarification to allow for the election of Scott Brown (R-Mass.) in 2010.

As the first member of Congress to be in a legal same-sex marriage while in office, Frank needled Romney on gay rights, saying that Romney now "takes orders from Rick Santorum" on the matter.

Frank then turned to financial regulation. As the former chairman of the House Financial Services Committee, Frank shepherded through financial regulations that bore his name following the financial crisis.

"Mitt Romney and for all I know Myth Romney opposes all of that," Frank said, adding that Romney would support "allowing an unregulated financial community to go back to where they were." With a Republican president and a Republican Congress, a repeal of many financial reforms would be possible.

Frank drew fire for a controversial remark earlier Thursday, when he compared the Log Cabin Republicans to "Uncle Tom" in an interview with The Huffington Post's Michelangelo Signorile. Other LGBT groups distanced themselves from the comment.

Loading Slideshow...
  • President Barack Obama laughs with his wife Michelle and his daughters Malia and Sasha after his speech to the Democratic National Convention in Charlotte, N.C., on Thursday, Sept. 6, 2012. (AP Photo/Lynne Sladky)

  • President Barack Obama waves with his wife Michelle and his daughters Malia and Sasha after his speech to the Democratic National Convention in Charlotte, N.C., on Thursday, Sept. 6, 2012. (AP Photo/Lynne Sladky)

  • Joe Biden, Barack Obama

    Vice President Joe Biden and President Barack Obama wave to the delegates at the conclusion of Presdident Obama's speech at the Democratic National Convention in Charlotte, N.C., on Thursday, Sept. 6, 2012. (AP Photo/J. Scott Applewhite)

  • President Barack Obama waves with his wife Michelle and his daughters Malia and Sasha after his speech to the Democratic National Convention in Charlotte, N.C., on Thursday, Sept. 6, 2012. (AP Photo/Lynne Sladky)

  • President Barack Obama waves with his wife Michelle and his daughters Malia and Sasha after his speech to the Democratic National Convention in Charlotte, N.C., on Thursday, Sept. 6, 2012. (AP Photo/Lynne Sladky)

  • President Barack Obama waves with his wife Michelle and his daughters Malia and Sasha after his speech to the Democratic National Convention in Charlotte, N.C., on Thursday, Sept. 6, 2012. (AP Photo/Lynne Sladky)

  • President Barack Obama waves with his wife Michelle and his daughters Malia and Sasha after his speech to the Democratic National Convention in Charlotte, N.C., on Thursday, Sept. 6, 2012. (AP Photo/Charlie Neibergall)

  • Obama Accepts Nomination On Final Day Of Democratic National Convention

    CHARLOTTE, NC - SEPTEMBER 06: Democratic presidential candidate, U.S. President Barack Obama stands with his family, (L-R) First lady Michelle Obama, Sasha Obama, and Malia Obama during the final day of the Democratic National Convention at Time Warner Cable Arena on September 6, 2012 in Charlotte, North Carolina. The DNC, which concludes today, nominated U.S. President Barack Obama as the Democratic presidential candidate. (Photo by Chip Somodevilla/Getty Images)

  • US-VOTE-2012-DEMOCRATIC CONVENTION

    US President Barack Obama, First Lady Michelle Obama, daughters Malia (L) and Sasha (C) wave after Obama's acceptance speech at the Time Warner Cable Arena in Charlotte, North Carolina, on September 6, 2012 on the final day of the Democratic National Convention (DNC). AFP PHOTO Stan HONDA (Photo credit should read STAN HONDA/AFP/GettyImages)

  • Barack Obama

    President Barack Obama speaks at the Democratic National Convention in Charlotte, N.C., Thursday, Sept. 6, 2012. (AP Photo/Pablo Martinez Monsivais)

  • US-VOTE-2012-DEMOCRATIC CONVENTION

    Supporters listen as US President Barack Obama delivers his acceptance to run for a second term as president at the Time Warner Cable Arena in Charlotte, North Carolina, on September 6, 2012 on the final day of the Democratic National Convention (DNC). AFP PHOTO Brendan SMIALOWSKI (Photo credit should read BRENDAN SMIALOWSKI/AFP/GettyImages)

  • Obama Accepts Nomination On Final Day Of Democratic National Convention

    CHARLOTTE, NC - SEPTEMBER 06: Democratic presidential candidate, U.S. President Barack Obama speaks on stage as he accepts the nomination for president during the final day of the Democratic National Convention at Time Warner Cable Arena on September 6, 2012 in Charlotte, North Carolina. The DNC, which concludes today, nominated U.S. President Barack Obama as the Democratic presidential candidate. (Photo by Win McNamee/Getty Images)

  • Obama Accepts Nomination On Final Day Of Democratic National Convention

    CHARLOTTE, NC - SEPTEMBER 06: Democratic presidential candidate, U.S. President Barack Obama speaks on stage as he accepts the nomination for president during the final day of the Democratic National Convention at Time Warner Cable Arena on September 6, 2012 in Charlotte, North Carolina. The DNC, which concludes today, nominated U.S. President Barack Obama as the Democratic presidential candidate. (Photo by Streeter Lecka/Getty Images)

  • Obama Accepts Nomination On Final Day Of Democratic National Convention

    CHARLOTTE, NC - SEPTEMBER 06: (L-R) Marian Robinson, Malia Obama, Sasha Obama, First lady Michelle Obama and Second lady Dr. Jill Biden watch as Democratic presidential candidate, U.S. President Barack Obama speaks on stage during the final day of the Democratic National Convention at Time Warner Cable Arena on September 6, 2012 in Charlotte, North Carolina. The DNC, which concludes today, nominated U.S. President Barack Obama as the Democratic presidential candidate. (Photo by Scott Olson/Getty Images)

  • From left, Michelle Obama's mother Marian, Malia and Sasha Obama, their mother Michelle and Dr. Jill Biden, wife of Vice President Biden, listen to President Barack Obama at the Democratic National Convention in Charlotte, N.C., on Thursday, Sept. 6, 2012. (AP Photo/Lynne Sladky)

  • US-VOTE-2012-DEMOCRATIC CONVENTION

    US President Barack Obama as he delivers his acceptance to run for a second term as president at the Time Warner Cable Arena in Charlotte, North Carolina, on September 6, 2012 on the final day of the Democratic National Convention (DNC). AFP PHOTO Brendan SMIALOWSKI (Photo credit should read BRENDAN SMIALOWSKI/AFP/GettyImages)

  • US-VOTE-2012-DEMOCRATIC CONVENTION

    The First family welcomes US President Barack Obama as he delivers his acceptance to run for a second term as president at the Time Warner Cable Arena in Charlotte, North Carolina, on September 6, 2012 on the final day of the Democratic National Convention (DNC). From L-R, first row: Mother-in-law Marian Robinson, daughter Malia, daughter Sasha, First Lady Michelle Obama, Second Lady Dr. Jill Biden and Mrs.Obama's brother Craig Robinson (3rd R, second row). AFP PHOTO Brendan SMIALOWSKI (Photo credit should read BRENDAN SMIALOWSKI/AFP/GettyImages)

  • US-VOTE-2012-DEMOCRATIC CONVENTION

    US President Barack Obama delivers his acceptance to run for a second term as president at the Time Warner Cable Arena in Charlotte, North Carolina, on September 6, 2012 on the final day of the Democratic National Convention (DNC). EDITORS NOTE: Image was shot with a tilt-shift lens. AFP PHOTO Brendan SMIALOWSKI (Photo credit should read BRENDAN SMIALOWSKI/AFP/GettyImages)

  • Obama Accepts Nomination On Final Day Of Democratic National Convention

    CHARLOTTE, NC - SEPTEMBER 06: Democratic presidential candidate, U.S. President Barack Obama claps on stage as he accepts the nomination for president during the final day of the Democratic National Convention at Time Warner Cable Arena on September 6, 2012 in Charlotte, North Carolina. The DNC, which concludes today, nominated U.S. President Barack Obama as the Democratic presidential candidate. (Photo by Win McNamee/Getty Images)

  • Obama Accepts Nomination On Final Day Of Democratic National Convention

    CHARLOTTE, NC - SEPTEMBER 06: Democratic presidential candidate, U.S. President Barack Obama speaks on stage to accept the nomination for president during the final day of the Democratic National Convention at Time Warner Cable Arena on September 6, 2012 in Charlotte, North Carolina. The DNC, which concludes today, nominated U.S. President Barack Obama as the Democratic presidential candidate. (Photo by Chip Somodevilla/Getty Images)

  • Obama Accepts Nomination On Final Day Of Democratic National Convention

    CHARLOTTE, NC - SEPTEMBER 06: Democratic presidential candidate, U.S. President Barack Obama speaks on stage as he accepts the nomination for president during the final day of the Democratic National Convention at Time Warner Cable Arena on September 6, 2012 in Charlotte, North Carolina. The DNC, which concludes today, nominated U.S. President Barack Obama as the Democratic presidential candidate. (Photo by Kevork Djansezian/Getty Images)

  • Obama Accepts Nomination On Final Day Of Democratic National Convention

    CHARLOTTE, NC - SEPTEMBER 06: Democratic presidential candidate, U.S. President Barack Obama speaks on stage as he accepts the nomination for president during the final day of the Democratic National Convention at Time Warner Cable Arena on September 6, 2012 in Charlotte, North Carolina. The DNC, which concludes today, nominated U.S. President Barack Obama as the Democratic presidential candidate. (Photo by Joe Raedle/Getty Images)

  • US-VOTE-2012-DEMOCRATIC CONVENTION

    First daughters Malia (L) and Sasha (C) confer as US President Barack Obama delivers his acceptance to run for a second term as president at the Time Warner Cable Arena in Charlotte, North Carolina, on September 6, 2012 on the final day of the Democratic National Convention (DNC). AFP PHOTO Robyn BECK (Photo credit should read ROBYN BECK/AFP/GettyImages)

  • US-VOTE-2012-DEMOCRATIC CONVENTION

    First Lady Michelle Obama (R) looks over at daughters Malia (L) and Sasha (C) as US President Barack Obama delivers his acceptance to run for a second term as president at the Time Warner Cable Arena in Charlotte, North Carolina, on September 6, 2012 on the final day of the Democratic National Convention (DNC). AFP PHOTO Robyn BECK (Photo credit should read ROBYN BECK/AFP/GettyImages)

  • US-VOTE-2012-DEMOCRATIC CONVENTION

    First Lady Michelle Obama (2nd R) looks over at daughters Malia (L) and Sasha (C) as US President Barack Obama delivers his acceptance to run for a second term as president at the Time Warner Cable Arena in Charlotte, North Carolina, on September 6, 2012 on the final day of the Democratic National Convention (DNC). AFP PHOTO Robyn BECK (Photo credit should read ROBYN BECK/AFP/GettyImages)

  • Obama Accepts Nomination On Final Day Of Democratic National Convention

    CHARLOTTE, NC - SEPTEMBER 06: (L-R) Malia Obama, Sasha Obama, and First lady Michelle Obama listen as Democratic presidential candidate, U.S. President Barack Obama speaks on stage during the final day of the Democratic National Convention at Time Warner Cable Arena on September 6, 2012 in Charlotte, North Carolina. The DNC, which concludes today, nominated U.S. President Barack Obama as the Democratic presidential candidate. (Photo by Chip Somodevilla/Getty Images)

  • Obama Accepts Nomination On Final Day Of Democratic National Convention

    CHARLOTTE, NC - SEPTEMBER 06: Democratic presidential candidate, U.S. President Barack Obama speaks on stage to accept the nomination for president during the final day of the Democratic National Convention at Time Warner Cable Arena on September 6, 2012 in Charlotte, North Carolina. The DNC, which concludes today, nominated U.S. President Barack Obama as the Democratic presidential candidate. (Photo by Alex Wong/Getty Images)

  • Obama Accepts Nomination On Final Day Of Democratic National Convention

    CHARLOTTE, NC - SEPTEMBER 06: Democratic presidential candidate, U.S. President Barack Obama speaks on stage to accept the nomination for president during the final day of the Democratic National Convention at Time Warner Cable Arena on September 6, 2012 in Charlotte, North Carolina. The DNC, which concludes today, nominated U.S. President Barack Obama as the Democratic presidential candidate. (Photo by Alex Wong/Getty Images)

  • Obama Accepts Nomination On Final Day Of Democratic National Convention

    CHARLOTTE, NC - SEPTEMBER 06: Democratic presidential candidate, U.S. President Barack Obama speaks on stage to accept the nomination for president during the final day of the Democratic National Convention at Time Warner Cable Arena on September 6, 2012 in Charlotte, North Carolina. The DNC, which concludes today, nominated U.S. President Barack Obama as the Democratic presidential candidate. (Photo by Chip Somodevilla/Getty Images)

  • President Barack Obama waves to candidates at the Democratic National Convention in Charlotte, N.C., on Thursday, Sept. 6, 2012. (AP Photo/Lynne Sladky)

  • Obama Accepts Nomination On Final Day Of Democratic National Convention

    CHARLOTTE, NC - SEPTEMBER 06: Democratic presidential candidate, U.S. President Barack Obama waves on stage as he accepts the nomination for president during the final day of the Democratic National Convention at Time Warner Cable Arena on September 6, 2012 in Charlotte, North Carolina. The DNC, which concludes today, nominated U.S. President Barack Obama as the Democratic presidential candidate. (Photo by Justin Sullivan/Getty Images)

  • Obama Accepts Nomination On Final Day Of Democratic National Convention

    CHARLOTTE, NC - SEPTEMBER 06: Democratic presidential candidate, U.S. President Barack Obama speaks on stage to accept the nomination for president during the final day of the Democratic National Convention at Time Warner Cable Arena on September 6, 2012 in Charlotte, North Carolina. The DNC, which concludes today, nominated U.S. President Barack Obama as the Democratic presidential candidate. (Photo by Justin Sullivan/Getty Images)

  • Obama Accepts Nomination On Final Day Of Democratic National Convention

    CHARLOTTE, NC - SEPTEMBER 06: Democratic presidential candidate, U.S. President Barack Obama speaks on stage to accept the nomination for president during the final day of the Democratic National Convention at Time Warner Cable Arena on September 6, 2012 in Charlotte, North Carolina. The DNC, which concludes today, nominated U.S. President Barack Obama as the Democratic presidential candidate. (Photo by Justin Sullivan/Getty Images)

  • Obama Accepts Nomination On Final Day Of Democratic National Convention

    CHARLOTTE, NC - SEPTEMBER 06: Democratic presidential candidate, U.S. President Barack Obama speaks on stage to accept the nomination for president during the final day of the Democratic National Convention at Time Warner Cable Arena on September 6, 2012 in Charlotte, North Carolina. The DNC, which concludes today, nominated U.S. President Barack Obama as the Democratic presidential candidate. (Photo by Chip Somodevilla/Getty Images)

  • President Barack Obama applauds before his speech to the Democratic National Convention in Charlotte, N.C., on Thursday, Sept. 6, 2012. (AP Photo/Lynne Sladky)

  • Obama Accepts Nomination On Final Day Of Democratic National Convention

    CHARLOTTE, NC - SEPTEMBER 06: (L-R) Malia Obama, Sasha Obama, and First lady Michelle Obama listen as Democratic presidential candidate, U.S. President Barack Obama speaks on stage during the final day of the Democratic National Convention at Time Warner Cable Arena on September 6, 2012 in Charlotte, North Carolina. The DNC, which concludes today, nominated U.S. President Barack Obama as the Democratic presidential candidate. (Photo by Chip Somodevilla/Getty Images)

  • Obama Accepts Nomination On Final Day Of Democratic National Convention

    CHARLOTTE, NC - SEPTEMBER 06: (L-R) Malia Obama, Sasha Obama, First lady Michelle Obama and Second lady Dr. Jill Biden watch as Democratic presidential candidate, U.S. President Barack Obama speaks during the final day of the Democratic National Convention at Time Warner Cable Arena on September 6, 2012 in Charlotte, North Carolina. The DNC, which concludes today, nominated U.S. President Barack Obama as the Democratic presidential candidate. (Photo by Justin Sullivan/Getty Images)

  • Obama Accepts Nomination On Final Day Of Democratic National Convention

    CHARLOTTE, NC - SEPTEMBER 06: First lady Michelle Obama hughs Democratic presidential candidate, U.S. President Barack Obama on stage during the final day of the Democratic National Convention at Time Warner Cable Arena on September 6, 2012 in Charlotte, North Carolina. The DNC, which concludes today, nominated U.S. President Barack Obama as the Democratic presidential candidate. (Photo by Justin Sullivan/Getty Images)

  • Obama Accepts Nomination On Final Day Of Democratic National Convention

    CHARLOTTE, NC - SEPTEMBER 06: Democratic presidential candidate, U.S. President Barack Obama hugs his wife First lady Michelle Obama during the final day of the Democratic National Convention at Time Warner Cable Arena on September 6, 2012 in Charlotte, North Carolina. The DNC, which concludes today, nominated U.S. President Barack Obama as the Democratic presidential candidate. (Photo by Alex Wong/Getty Images)

  • Obama Accepts Nomination On Final Day Of Democratic National Convention

    CHARLOTTE, NC - SEPTEMBER 06: Democratic presidential candidate, U.S. President Barack Obama waves on stage during the final day of the Democratic National Convention at Time Warner Cable Arena on September 6, 2012 in Charlotte, North Carolina. The DNC, which concludes today, nominated U.S. President Barack Obama as the Democratic presidential candidate. (Photo by Justin Sullivan/Getty Images)

  • Obama Accepts Nomination On Final Day Of Democratic National Convention

    CHARLOTTE, NC - SEPTEMBER 06: (L-R) Malia Obama, Sasha Obama, and First lady Michelle Obama watch as Democratic presidential candidate, U.S. President Barack Obama speaks on stage during the final day of the Democratic National Convention at Time Warner Cable Arena on September 6, 2012 in Charlotte, North Carolina. The DNC, which concludes today, nominated U.S. President Barack Obama as the Democratic presidential candidate. (Photo by Justin Sullivan/Getty Images)

  • Obama Accepts Nomination On Final Day Of Democratic National Convention

    CHARLOTTE, NC - SEPTEMBER 06: Democratic presidential candidate, U.S. President Barack Obama walks on stage to join First lady Michelle Obama during the final day of the Democratic National Convention at Time Warner Cable Arena on September 6, 2012 in Charlotte, North Carolina. The DNC, which concludes today, nominated U.S. President Barack Obama as the Democratic presidential candidate. (Photo by Streeter Lecka/Getty Images)

  • Obama Accepts Nomination On Final Day Of Democratic National Convention

    CHARLOTTE, NC - SEPTEMBER 06: Democratic presidential candidate, U.S. President Barack Obama walks on stage to join First lady Michelle Obama during the final day of the Democratic National Convention at Time Warner Cable Arena on September 6, 2012 in Charlotte, North Carolina. The DNC, which concludes today, nominated U.S. President Barack Obama as the Democratic presidential candidate. (Photo by Streeter Lecka/Getty Images)

  • Obama Accepts Nomination On Final Day Of Democratic National Convention

    CHARLOTTE, NC - SEPTEMBER 06: Democratic presidential candidate, U.S. President Barack Obama walks on stage during the final day of the Democratic National Convention at Time Warner Cable Arena on September 6, 2012 in Charlotte, North Carolina. The DNC, which concludes today, nominated U.S. President Barack Obama as the Democratic presidential candidate. (Photo by Justin Sullivan/Getty Images)

  • Obama Accepts Nomination On Final Day Of Democratic National Convention

    CHARLOTTE, NC - SEPTEMBER 06: First lady Michelle Obama introduces Democratic presidential candidate, U.S. President Barack Obama during the final day of the Democratic National Convention at Time Warner Cable Arena on September 6, 2012 in Charlotte, North Carolina. The DNC, which concludes today, nominated U.S. President Barack Obama as the Democratic presidential candidate. (Photo by Alex Wong/Getty Images)

  • Obama Accepts Nomination On Final Day Of Democratic National Convention

    CHARLOTTE, NC - SEPTEMBER 06: U.S. Sen. Dick Durbin (D-IL) speaks on stage during the final day of the Democratic National Convention at Time Warner Cable Arena on September 6, 2012 in Charlotte, North Carolina. The DNC, which concludes today, nominated U.S. President Barack Obama as the Democratic presidential candidate. (Photo by Alex Wong/Getty Images)

  • Obama Accepts Nomination On Final Day Of Democratic National Convention

    CHARLOTTE, NC - SEPTEMBER 06: Democratic vice presidential candidate, U.S. Vice President Joe Biden waves with his wife Second lady Dr. Jill Biden after speaking on stage during the final day of the Democratic National Convention at Time Warner Cable Arena on September 6, 2012 in Charlotte, North Carolina. The DNC, which concludes today, nominated U.S. President Barack Obama as the Democratic presidential candidate. (Photo by Chip Somodevilla/Getty Images)

  • Obama Accepts Nomination On Final Day Of Democratic National Convention

    CHARLOTTE, NC - SEPTEMBER 06: Democratic vice presidential candidate, U.S. Vice President Joe Biden hugs his wife Second lady Dr. Jill Biden after speaking during the final day of the Democratic National Convention at Time Warner Cable Arena on September 6, 2012 in Charlotte, North Carolina. The DNC, which concludes today, nominated U.S. President Barack Obama as the Democratic presidential candidate. (Photo by Chip Somodevilla/Getty Images)

  • Obama Accepts Nomination On Final Day Of Democratic National Convention

    CHARLOTTE, NC - SEPTEMBER 06: Democratic vice presidential candidate, U.S. Vice President Joe Biden speaks on stage during the final day of the Democratic National Convention at Time Warner Cable Arena on September 6, 2012 in Charlotte, North Carolina. The DNC, which concludes today, nominated U.S. President Barack Obama as the Democratic presidential candidate. (Photo by Alex Wong/Getty Images)

  • Obama Accepts Nomination On Final Day Of Democratic National Convention

    CHARLOTTE, NC - SEPTEMBER 06: Democratic vice presidential candidate, U.S. Vice President Joe Biden speaks on stage during the final day of the Democratic National Convention at Time Warner Cable Arena on September 6, 2012 in Charlotte, North Carolina. The DNC, which concludes today, nominated U.S. President Barack Obama as the Democratic presidential candidate. (Photo by Alex Wong/Getty Images)

  • Vice President Joe Biden waves as he appears on stage to address the Democratic National Convention in Charlotte, N.C., on Thursday, Sept. 6, 2012. (AP Photo/David Goldman)