Rep. Tim Murphy (R-Pa.) will resign later this month following a report this week suggesting that he urged a woman with whom he was having an affair to have an abortion.

Murphy had originally announced Wednesday night that he would not seek reelection and serve out the rest of his term through 2018.

But he will now resign from the House effective Oct. 21 , rather than linger for more than a year following the scandal.

"We thank him for his many years of tireless work on mental health issues here in Congress and his service to the country as a naval reserve officer," Ryan said in a statement.

Less than 10 minutes before his office released the statement, Ryan was asked at a press conference whether he thought Murphy should resign or serve out the rest of his term. “I have spoken with Tim quite a bit the last couple of days. I think it’s appropriate that he moves onto the next chapter of his life and I think he agrees with that,” Ryan said at a Maryland manufacturing facility. ADVERTISEMENT Murphy did not show up to any House votes on Thursday to adopt a budget for 2018 paving the way for tax reform. He did, however, cast a vote Tuesday on legislation to ban abortions after 20 weeks shortly after the Pittsburgh Post-Gazette's story about his leaked text messages posted.