WASHINGTON (AP) -- With a solemnity reserved for momentous occasions, the Senate passed historic legislation Thursday offering the priceless hope of citizenship to millions of immigrants living illegally in America's shadows. The bill also promises a military-style effort to secure the long-porous border with Mexico.
The bipartisan vote was 68-32 on a measure that sits atop President Barack Obama's second-term domestic agenda. Even so, the bill's prospects are highly uncertain in the Republican-controlled House, where conservatives generally oppose citizenship for immigrants living in the country unlawfully.
Spectators in galleries that overlook the Senate floor watched expectantly as senators voted one by one from their desks. Some onlookers erupted in chants of "Yes, we can" after Vice President Joe Biden announced the bill's passage.
After three weeks of debate, there was no doubt about the outcome. Fourteen Republicans joined all 52 Democrats and two independents to support the bill.
In a written statement, Obama coupled praise for the Senate's action with a plea for resolve by supporters as the House works on the issue. "Now is the time when opponents will try their hardest to pull this bipartisan effort apart so they can stop commonsense reform from becoming a reality. We cannot let that happen," said the president, who was traveling in Africa.
After the bill passed, he called Sen. Chuck Schumer, D-N.Y., a leading author of the bill, to offer congratulations.
In the final hours of debate, members of the so-called Gang of 8, the group that drafted the measure, frequently spoke in personal terms while extolling the bill's virtues, rebutting its critics -- and appealing to the House members who turn comes next.
"Do the right thing for America and for your party," said Sen. Bob Menendez, D-N.J., who said his mother emigrated to the United States from Cuba. "Find common ground. Lean away from the extremes. Opt for reason and govern with us."
Arizona Republican Sen. Jeff Flake said those seeking legal status after living in the United States illegally must "pass a background check, make good on any tax liability and pay a fee and a fine." There are other requirements before citizenship can be obtained, he noted.
He, too, spoke from personal experience, recalling time he spent as a youth working alongside family members and "undocumented migrant labor, largely from Mexico, who worked harder than we did under conditions much more difficult than we endured."
Since then, he said, "I have harbored a feeling of admiration and respect for those who have come to risk life and limb and sacrifice so much to provide a better life for themselves and their families."
The bill's opponents were unrelenting, if outnumbered.
"We will admit dramatically more people than we ever have in our country's history at a time when unemployment is high and the Congressional Budget Office has told us that average wages will go down for 12 years, that gross national product per capita will decline for 25-plus years, that unemployment will go up," said Sen. Jeff Sessions, R-Ala.
"The amnesty will occur, but the enforcement is not going to occur, and the policies for future immigration are not serving the national interest."
In the Senate, at least, the developments marked an end to years of gridlock on immigration. The shift began taking shape quickly after the 2012 presidential election, when numerous Republican leaders concluded the party must show a more welcoming face to Hispanic voters who had given Obama more than 70 percent of their support.
Even so, division among Republicans was evident as potential 2016 presidential contenders split. Sen. Marco Rubio of Florida was one of the Gang of 8, while Sens. Rand Paul of Kentucky and Ted Cruz of Texas were opposed to the bill.
The legislation's chief provisions includes numerous steps to prevent future illegal immigration -- some added in a late compromise that swelled Republican support for the bill -- and to check on the legal status of job applicants already living in the United States. At the same time, it offers a 13-year path to citizenship to as many as 11 million immigrants now living in the country unlawfully.
Under the deal brokered last week by Republican Sens. John Hoeven of North Dakota and Bob Corker of Tennessee and the Gang of 8, the measure requires 20,000 new Border Patrol agents, the completion of 700 miles of fencing and deployment of an array of high-tech devices along the U.S.-Mexico border.
Those living in the country illegally could gain legal status while the border security plan was being implemented, but would not be granted permanent resident green cards or citizenship.