House Speaker Nancy Pelosi discussed retiring from Congress less than a day before Americans who have not voted early go to the polls.

Pelosi’s interview with CNN’s Anderson Cooper comes as most polls have Republicans sweeping the House and potentially winning back control of the U.S. Senate as well.

During the interview, Cooper said that there has “been a lot of discussion about whether you’d retire if Democrats lose the House.”

The speaker responded by noting that the “decision will be affected about what happened the last week or two,” which led Cooper to ask, “Will your decision be impacted by the attack in any way?”

“Yes,” the Speaker said.

“It will?” Cooper asked.

“Yes,” she responded.

Earlier, Pelosi thanked everyone for their support after her husband, Paul Pelosi, was allegedly attacked by a man who reportedly broke into the couple’s San Francisco home last week and struck him with a hammer.

The Speaker’s husband was reportedly “violently assaulted” by an intruder who broke into the couple’s home in San Francisco, reports said.

The assailant was taken into custody and Paul Pelosi was rushed to a nearby hospital. Officials say he is expected to make a full recovery. A motive is still sketchy.

Drew Hammill, a spokesman for Speaker Nancy Pelosi, said: “Early this morning, an assailant broke into the Pelosi residence in San Francisco and violently assaulted Mr. Pelosi.

“The assailant is in custody and the motivation for the attack is under investigation,” the statement continued.

“Mr. Pelosi was taken to the hospital, where he is receiving excellent medical care and is expected to make a full recovery. The Speaker was not in San Francisco at the time,” the statement continued.

“The Speaker and her family are grateful to the first responders and medical professionals involved, and request privacy at this time.”

David DePape, the man who allegedly attacked Pelosi in his home, has been hit with two federal charges and six state charges.

“With a grateful heart I thank all who sent kind words and prayers for Paul. It’s a long road but he will be well,” Nancy Pelosi said on Twitter on Friday.

Disclaimer: This article may contain commentary which reflects the author’s opinion.