This browser does not support the Video element.
WASHINGTON (AP) -- With Congress in turmoil, House Speaker John Boehner abruptly informed fellow Republicans on Friday that he would resign from Congress at the end of October, stepping aside in the face of hardline conservative opposition that threatens an institutional crisis.
The 13-term Ohio Republican, second in line to the presidency, shocked his GOP caucus Friday morning when he announced his decision in a closed-door session. It came one day after a high point of Boehner's congressional career, a historic speech by Pope Francis to Congress at Boehner's request.
A constant focus of conservatives' complaints, Boehner was facing the threat of a floor vote on whether he could stay on as speaker, a formal challenge that hasn't happened in over 100 years. That was being pushed by tea partyers convinced Boehner wasn't fighting hard enough to strip Planned Parenthood of government funds, even though doing so risked a government shutdown next week.
"It's become clear to me that this prolonged leadership turmoil would do irreparable harm to the institution," Boehner told a news conference several hours after making the announcement to his rank and file. "There was never any doubt I could survive the vote, but I didn't want my members to go through this, I didn't want this institution to go through this."
Boehner said he had planned all along to announce in November that he was resigning at the end of this year, but had not said so publicly. After emotional moments Thursday at the pope's side, he woke up Friday morning and decided now was the time.
Boehner betrayed no regrets, even breaking into a brief verse of "Zippity Doo Dah" to demonstrate he was feeling good.
President Barack Obama, Boehner's frequent antagonist and occasional partner, called the speaker "a good man" and a patriot.
"And I think, maybe most importantly, he's somebody who understands that in government and governance, you don't get 100 percent of what you want," the president said. "But you have to work with people who you disagree with, and sometimes strongly, in order to do the people's business."
Some conservatives welcomed the announcement.
Rep. Tim Huelskamp of Kansas said "it's time for new leadership," and Rep. Tom Massie of Kentucky said the speaker "subverted our Republic."
"I think it was inevitable," Massie said. "This is a condition of his own making right here."
But more mainstream Republicans said it would be a pyrrhic victory for the tea partyers.
"The honor of John Boehner this morning stands in stark contrast to the idiocy of those members who seek to continually divide us," said Rep. David Jolly of Florida.
"The shutdown caucus as I call them has a small victory," Jolly said.
Although it's not certain who will succeed Boehner, the most obvious candidate would be the No. 2 House Republican, Kevin McCarthy, a genial Californian who was first elected to Congress in 2006. While insisting that decision is up to fellow Republicans, Boehner declared Friday that "Kevin McCarthy would make an excellent speaker."
Nonetheless, Boehner's departure ensures a major leadership race in which tea party conservatives would be expected to field a candidate.
As he told lawmakers Friday of his plan to resign, Boehner also announced plans to schedule a vote on a government funding bill that includes money for Planned Parenthood before next week's deadline. It will be likely to pass with Democratic support, notwithstanding conservative complaints.
Boehner, with his relaxed and sociable demeanor, love of golf, and well-known tendency to cry in public, Boehner was widely popular among House Republicans. Though he is also known as a strong conservative, his tactics were never confrontational enough to satisfy the most conservative faction in the House.
Boehner's decision removes the possibility of a damaging vote to strip him of his speakership, a scenario that grew more likely amid the clamor over a possible shutdown.
Boehner took over the speakership in January 2011. His tenure has been defined by his early struggles to reach budget agreements with Obama and his wrestling with the expectations of tea party conservatives who abhorred his tendencies toward deal-making.
Two years ago, conservatives drove him to reluctantly embrace a partial government shutdown in hopes of delaying implementation of Obama's new health care law. The tactic was unsuccessful. Nonetheless, tea party lawmakers had been pressing him to retry the tactic to try to take away federal funding from Planned Parenthood following the disclosure of controversial videos involving its practices of procuring fetal tissue for research purposes.
Surprised Democrats saw disorder in the House GOP, with Minority Leader Nancy Pelosi calling Boehner's resignation "seismic."
The turmoil is playing out against an already roiling race for the GOP presidential nomination in which the candidates at the top of opinion polls are all Washington outsiders. Many of the GOP candidates have criticized Boehner and his Senate counterpart, Majority leader Mitch McConnell, R-Ky., who've seen their approval ratings sag even among Republicans.
Religious conservatives, in Washington for the Family Research Council's Values Voter Summit, erupted in extended applause when Florida Sen. Marco Rubio informed them that Boehner was resigning.
"I'm not here to bash anyone," Rubio said told the buzzing crowd, "but the time has come to turn the page."
Boehner was first elected to the House in 1990 and soon established a strongly conservative record. He was part of former Speaker Newt Gingrich's leadership team when Republicans took over the House in 1995 for the first time in four decades but was ousted from his leadership role in the wake of the GOP's disappointing performance in the 1998 midterms.
He won a 2006 race to succeed Tom DeLay as the House's No. 2 Republican when DeLay stepped aside as majority leader. He took over as the top Republican in the House in 2007 after Democrats retook the chamber.