WASHINGTON -- In a blend of pageantry and politics, Republicans took complete control of Congress for the first time in eight years Tuesday, then ran straight into a White House veto threat against their top-priority legislation to build the Keystone XL oil pipeline.
Republicans condemned the unexpected announcement, which came at the same time they were savoring the fruits of last fall's elections and speaking brightly about possible bipartisan compromises in the two years ahead.
"I'm really optimistic about what we can accomplish," said Kentucky Sen. Mitch McConnell, moments after he was recognized as leader of the new Republican majority on one side of the Capitol.
At the other end of the majestic building, Rep. John Boehner of Ohio easily won a third term as House speaker despite attempts by tea party-backed dissidents to topple him. He said the 114th Congress would begin by passing legislation to "develop more North American energy" among top priorities, adding "We invite the president to support and sign these bipartisan initiatives into law."
It was an offer the White House could and did refuse - in advance. "If this bill passes Congress, the president wouldn't sign it," presidential press secretary Josh Earnest said before Boehner spoke. He said the measure would undermine a review process underway by the administration.
The events spilled out rapidly on a day that offered a glimpse of the political forces at work in an era of divided government - the intraparty struggle among House Republicans, the coordination that GOP leaders in both houses showed in pursuing a conservative agenda and the blocking power of a Democratic president.
There was well choreographed pageantry as well on a day Republicans installed a 54-46 majority in the Senate and took 246 of the 435 seats in the House, the most in more than 60 years.
Vice President Joe Biden presided over swearing-in ceremonies in the Senate, leading new senators and re-elected veterans alike in an age-old oath to "support and defend the Constitution of the United States." He reserved his warmest greeting for former Vice President and Sen. Walter F. Mondale, 87, who accompanied Minnesota Sen. Al Franken down the chamber's carpeted center aisle to an oath-taking.
The House played host to a younger crowd as lawmakers were sworn in for two-year terms - children in their best clothes, babies in their parents' arms. "Mommy, mommy," yelled out one girl, no longer content to sit in the lap of her congressman-father.
One powerful player was absent but eager to show he would be back soon. Democratic Sen. Harry Reid of Nevada, now the minority leader, issued a statement saying his doctors ordered him to stay away from his office so injuries suffered last week when a piece of exercise equipment broke "can continue to heal." The statement disclosed for the first time that the 75-year-old lawmaker had suffered a concussion as well as broken facial bones and ribs.
Republicans were eager to turn to an agenda tailored to suit conservatives. They have signaled plans to write a budget that eliminates federal deficits in 10 years or less and to pass an overhaul of the tax code as well as try and reduce federal regulations they say are stifling job creation.
By day's end, they also won approval to make sure that smaller businesses that hire veterans don't trigger a requirement in the health care law requiring coverage for employees. The vote was 412-0.
Hoping to smooth their path for future measures, House Republicans passed a rules change permitting congressional scorekeepers to assume that tax cuts increase revenue to the government rather than reduce it. That would make it easier to show a balanced budget with fewer painful spending cuts. The concept, known as "dynamic scoring," has been an article of faith among conservatives since the Reagan era three decades ago.
Democratic complaints about the change vied with the Republican reaction to the Keystone veto threat.
Moments after highlighting the possibility for compromise, Boehner issued a statement saying Obama had sided with the "fringe extremists" in his own party in opposing the proposed pipeline to carry Canadian oil into the United States.
Said McConnell: "The president threatening to veto the first bipartisan infrastructure bill of the new Congress must come as a shock to the American people who spoke loudly in November in favor of bipartisan accomplishments."
Earlier, the 72-year-old Kentuckian permitted himself a slight smile when he was addressed inside the Senate for the first time as "majority leader" - a post he has long sought.
In remarks after he was sworn in as speaker, Boehner said that despite economic improvements, "far too many Americans remain out of work, and too many are working harder only to lose ground to stagnant wages and rising costs."
Acknowledging the difficulties inherent in divided government, he said, "Let's stand tall and prove the skeptics wrong. Let's make this a time of harvest."
Boehner first had to survive a challenge to his leadership by a group of critics so disorganized they failed to coalesce around a single alternative. The 25 votes cast against him by fellow Republicans was an unusually high number, but they were spread among nine potential replacements. Rep. Louie Gohmert of Texas, the loudest of Boehner's critics, drew only three votes - one of them his own.
Hours later, officials said Boehner had removed two dissidents, Florida Reps. Daniel Webster and Rich Nugent, from coveted slots on the Rules Committee. It was unclear if the change was permanent, since no replacements were named.