One of the relationships started a week before Weiner appeared in a wholesome photo spread for People Magazine to declare he was a changed man.

NEW YORK — Mayoral candidate Anthony Weiner said Thursday that he may have engaged in online sexual relationships with up to three women since resigning from Congress in 2011.

“I don’t believe I had any more than three,” he said when asked at a press conference how many relationships since his resignation were sexual in nature.

He spoke with reporters after volunteering at a soup kitchen in an orthodox Jewish section of Brooklyn.

His comments came several days after a woman alleged that she had a sexually explicit online relationship with him more than a year after the former Democratic congressman stepped down from his seat after accidentally tweeting a lewd picture.

Weiner told reporters Wednesday that he estimated there had been six to 10 women with whom he had virtually engaged in total. He declined to give specifics.