CNN  — 

Martin O’Malley said it was “pretty shameful” for Democratic presidential front-runner Hillary Clinton’s to invoke the 9/11 attacks to deflect criticism at a debate about her relationship with Wall Street.

In an interview with CNN’s “New Day,” the former Maryland governor and Democratic presidential candidate was asked about Clinton’s comments and the round of applause she received afterward.

“I thought that moment, frankly, was pretty shameful. I don’t believe that the people watching were applauding the notion that Secretary Clinton was pumping up the smoke screen and wrapping herself in the tragedy of 9/11,” O’Malley told CNN’s Alisyn Camerota. “I don’t think they saw that as something appropriate to do — to mask her coziness and her closeness to Wall Street and all of the architects of the crash of 2008.”

Read: Clinton controversy: Invokes 9/11 to defend Wall Street ties

At the Democratic debate Saturday night, Clinton made the comments in response to an accusation that she’s too cozy with Wall Street.

“I represented New York, and I represented New York on 9/11 when we were attacked,” she said. “Where were we attacked? We were attacked in downtown Manhattan where Wall Street is. I did spend a whole lot of time and effort helping them rebuild. That was good for New York.”

O’Malley slammed what he calls Clinton’s “crony capitalism — of the new, by the few, for the few,” and said that he, instead, subscribes to “traditional fair market American capitalism,” where Americans are not “on the hook as taxpayers.”

Clinton defended her comments later in the debate after a viewer on Twitter criticized the answer.

“Well, I’m sorry that whoever tweeted that had that impression because I worked closely with New Yorkers after 9/11 for my entire first term to rebuild,” Clinton said. “So, yes, I did know people. I’ve had a lot of folks give me donations from all kinds of backgrounds say, ‘I don’t agree with you on everything, but I like what you do. I like how you stand up. I’m going to support you.’ And I think that is absolutely appropriate.”

A Clinton spokeswoman said after the debate, “Her point was she was proud to stand with this community that was so devastated to help industry recover.”

Clinton’s ties to Wall Street have come under scrutiny in the past months and both her challengers, O’Malley and Sanders, have sought to distinguish themselves from the former Secretary of State on this issue.

CNN’s Gregory Krieg contributed to this report.