Updated

The House on Friday ignored a presidential veto threat and passed a $642 billion defense bill that abandons the deficit-cutting agreement that President Obama and congressional Republicans backed last summer.

On a 299-120 vote, lawmakers backed the spending blueprint that adds $8 billion for the military for next year. The bill calls for a missile defense site on the East Coast that the military opposes and restricts the ability of the president to reduce the arsenal of nuclear weapons under a 2010 treaty with Russia. It also preserves ships and aircraft that the Pentagon wanted to retire in a cost-cutting move.

Lawmakers also rejected the military's request for another round of domestic base closings. The White House has threatened a veto, as Republicans made wholesale changes in Obama's budget proposal.

Earlier Friday, the House reaffirmed the indefinite detention of suspected terrorists, even of U.S. citizens captured on American soil.

A coalition of Democrats and tea party Republicans fell short in their effort to end the controversial policy established last year and based on the post-Sept. 11 authorization for the use of military force that allows indefinite detention of enemy combatants.

More On This...

The House rejected an amendment by Reps. Adam Smith, D-Wash., and Justin Amash, R-Mich., that would have barred indefinite detention and rolled back mandatory military custody. The vote was 238-182.

"The frightening thing here is that the government is claiming the power under the Afghanistan authorization for use of military force as a justification for entering American homes to grab people, indefinitely detain them and not give them a charge or trial," Amash said during hours of House debate.

The policy's supporters argued that ending it would weaken national security and coddle terrorists.

The spending blueprint calls for money for aircraft, ships, weapons, the war in Afghanistan and a 1.7 percent pay raise for military personnel, billions of dollars more than Obama proposed.

The bill snubs the Pentagon's budget that was based on a new military strategy shifting focus from the Iraq and Afghanistan wars to future challenges in Asia, the Mideast and in cyberspace. The bill spares aircraft and ships slated for retirement, slows the reduction in the size of the Army and Marine Corps and calls for construction of a new missile defense site on the East Coast.

A Democratic effort to stick to last year's deficit-cutting pact and cut $8 billion from the bill failed Friday on a 252-170 vote.

The detention issue has created an unusual political coalition in Congress.

Conservatives fear it could result in unfettered power for the federal government, allowing it to detain American citizens indefinitely for even a one-time contribution to a humanitarian group that's later linked to terrorism. They argue it would be a violation of long-held constitutional rights. Also disconcerting to the GOP is the reality that the current government is led by a Democratic president.

Several Democrats also have criticized the provision as an example of government overreach and an unnecessary obstacle to the administration's war against terrorism.

The provision in the current defense law denies suspected terrorists, including U.S. citizens seized within the nation's borders, the right to trial and subjects them to the possibility they would be held indefinitely.

When Obama signed the bill on Dec. 31, he issued a statement saying he had serious reservations about provisions on the detention, interrogation and prosecution of suspected terrorists. Such signing statements are common and allow presidents to raise constitutional objections to circumvent Congress' intent.

"My administration will not authorize the indefinite military detention without trial of American citizens," Obama said in the signing statement. "Indeed, I believe that doing so would break with our most important traditions and values as a nation."

In February, the Obama administration outlined new rules on when the FBI, rather than the military, could be allowed to retain custody of al-Qaida terrorism suspects who aren't U.S. citizens but are arrested by federal law enforcement officers. The new procedures spelled out seven circumstances in which the president could place a suspect in FBI, rather than military, custody, including a waiver when it could impede counterterrorism cooperation with another government or when it could interfere with efforts to secure an individual's cooperation or confession.

In a face-saving move, the House voted 243-173 Friday for an amendment that reaffirms Americans' constitutional rights.

During Thursday's debate, Republicans insisted they're stronger on defense than Obama.

Rep. Michael Turner, R-Ohio, railed against "the secret deal the president has with the Russians to weaken our missile defense," a reference to Obama being caught on an open microphone in March telling then-Russian President Dmitry Medvedev that he would have more room to negotiate after the November election.

The White House wrote to Turner on April 13, insisting that in pursuing cooperation with Russia, "We have been clear that we will not agree to any constraints limiting the development or deployment of United States missile defenses."

The GOP effort to make Obama's national security record an issue in the campaign has made little headway. Opinion surveys show Americans give the president high marks on defense after the killing of Osama bin Laden, repeated drone attacks against suspected terrorists and a weakened al-Qaida and an end to the Iraq war.

Republicans, in a further assault on Obama's authority, on Friday secured approval for an amendment prohibiting the president from making any unilateral reductions to U.S. nuclear forces. The vote was 241-179.

And in a blow to establishment Republicans, the GOP-controlled House rejected appeals from the U.S. Chamber of Commerce and the business community to back an amendment limiting funds for institutions or organizations established by the United Nations Convention on the Law of the Sea. The vote was 229-193.

The chamber supports Senate ratification of the Law of the Sea Treaty "because it would provide clear legal rights and protections to American businesses to transit, lay undersea cables, and take advantage of the vast natural resources in and under the oceans off the U.S. coasts and around the world, spokesman R. Bruce Josten said in a statement. He noted the treaty also is backed by the Defense Department.

Tea party Republicans and other conservatives have expressed concerns about the treaty impinging on U.S. sovereignty.