[cnn-photo-caption image= http://i2.cdn.turner.com/cnn/2010/images/01/18/art.coakleyad.cnn.jpg caption="President Obama appears in a new ad for Martha Coakley released Monday."](CNN) - President Barack Obama appears in a new campaign commercial for fellow Democrat Martha Coakley, the party's candidate in Tuesday's special election for the late Sen. Ted Kennedy's seat.
The ad began running on television in Massachusetts Monday, one day after the president was the main attraction at a rally for Coakley Sunday in Boston.
The commercial uses portions of Obama's speech from the Sunday Coakley campaign event.
"Martha knows the struggles Massachusetts working families face because she's lived those struggles. She's fought for the people of Massachusetts every single day," says the president in the ad. "As attorney general she took on Wall Street and recovered millions for Massachusetts taxpayers. She went after big insurance companies, took on predatory lenders. That's what Martha Coakley's all about. Every vote matters. Every voice matters. We need you on Tuesday."
Coakley, the Massachusetts attorney general general, is deadlocked with Republican state senator Scott Brown, according to recent polls in Massachusetts.
Follow Paul Steinhauser on Twitter: @psteinhausercnn