NEW YORK — Anthony Weiner vowed to stay in the race for New York City mayor Sunday despite the loss of his campaign manager and the drumbeat of critics questioning his fitness for public office.
‘‘We have an amazing staff, but this isn’t about the people working on the campaign. It’s about the people we’re campaigning for,’’ Weiner said after speaking at a Brooklyn church.
Weiner confirmed that campaign manager Danny Kedem resigned Saturday after reports surfaced that Weiner continued to exchange lewd photos and messages with women despite resigning from Congress in 2011 over the same behavior.
Weiner said he would keep talking about ‘‘ideas for the middle class and people struggling to make it every single day’’ and added, ‘‘We knew this was going to be a tough campaign.’’
Kedem had managed the reelection of John DeStefano Jr. to a 10th term as mayor of New Haven in 2011 and worked on Hillary Clinton’s failed 2008 presidential campaign.
The 31-year-old Kedem was credited with helping Weiner pull into the lead among the crowded field of Democratic primary candidates before the latest revelations about Weiner’s raunchy online exchanges with women.
Rival mayoral candidate Christine Quinn, speaker of the New York City Council, said on NBC’s ‘‘Meet the Press’’ that Weiner has shown ‘‘a pattern of reckless behavior, an inability to tell the truth and a real lack of maturity, and responsibility.’’
A former senior aide to President Obama, David Axelrod, accused Weiner of ‘‘wasting time and space.’’ Axelrod, whose former firm works for another candidate, said Americans ‘‘believe in second chances, but not third chances.’’