Ed Rendell has apologized for "incredibly dumb and selfish" comments he made referring to "ugly women in America" while criticizing Donald Trump.

The former Pennsylvania governor and Philadelphia mayor felt the heat almost immediately after a quote attributed to him appeared in a Washington Post story about Donald Trump's appeal to voters.

"For every one he’ll lose 1½ , two Republican women. Trump’s comments like ‘You can’t be a 10 if you’re flat-chested,’ that’ll come back to haunt him," Rendell had said. "There are probably more ugly women in America than attractive women. People take that stuff personally.”

His opinion about the attractiveness of American women was met with swift backlash.

"I was totally taken off guard, because he’s more diplomatic and really has a very good vocabulary most of the time," said Gwendolyn Collins, president of the Pennsylvania Federation of Democratic Women. "He might not have taken his medicine, or someone slipped him a mickey. It’s not like him to say something like that."

And on Twitter:

Noted male model Ed Rendell — Chris Krewson (@ckrewson) May 18, 2016

Rendell told the AP he was sorry about his "incredibly dumb" comments and that he meant to make light of his his own appearance and argue "there's more of us than there are of them."

Here's part of his apology: