In a letter posted on Twitter, the Southern California Democrat attributed the resignation to an "abusive" estranged husband and "hateful political operatives" who said were "driving a smear campaign built around cyber exploitation."
Her resignation was first reported by Politico
personal life reported by conservative site Red State.
Download the NBC News app for breaking news and politics
She described the image as an "illegal" and "appalling invasion
Let our news meet your inbox.
"We are currently pursuing all of our available legal options," she said. "However, I know that as long as I am in Congress, we will live fearful of what might come next."
She added that she could no longer allow friends and supporters to "suffer this unprecedented brand of cruelty."
Hill's estranged husband, Kenny Heslep, could not be reached immediately for comment.
According to court documents obtained by CNBC, the two were married nine years before Heslep filed for divorce in Los Angeles in July – one month after he said he told him he was leaving him.
She took their "only operable vehicle and left me stranded at our residence," Heslep said in the documents.
Heslep also claimed that he had multiple jobs at the organization where Hill had worked because of her "influenza." He said he lost one of those jobs because Hill's employer was concerned about "nepotism and how he looked that she was my boss," the documents say.
Last week, Hill apologized after admitting that she had a "con a sensual "but" inappropriate "relationship with someone on her campaign. But she was denied that she had an affair with a congressional staff member.
"I know that even a consensual relationship with a subordinate is inappropriate, but I still allowed it to happen despite my better judgment," Hill said. "For that I apologize."
Hill, who was the executive director of a homeless services organization before her election, is the freshman class 'co-representative of the Democratic Caucus' leadership meetings.
In a statement Sunday, House Speaker Nancy Pelosi said Hill made "a great contribution as a leader of the Freshman Class."
"She has acknowledged errors in judgment that made her continued service as a Member untenable. We must ensure a climate of integrity and dignity in The Congress, and all the workplaces, ”Pelosi said.
Alexandra Moe contributed.