The U.S. Senate has passed, over White House objections, a $612 billion defense policy bill that calls for arming Ukraine, prevents another round of military base closures, and makes it harder for President Barack Obama to close the prison for terrorism suspects at Guantanamo Bay, Cuba.
The Senate voted 71-25 to approve the bill, which Obama has threatened to veto.
The bill now must be reconciled with the version passed by the House of Representatives.
Democrats have objected to the way the National Defense Authorization Act avoids congressionally mandated spending caps by pouring extra money into a war-fighting fund that is not subject to the caps.
Top Senate Democrats wrote their Republican counterparts ahead of the June 18 vote, urging the two parties to enter negotiations to end the across-the-board budget caps known as sequestration.
Obama and Democrats argue that any move to lift sequestration on the defense side should be met with similar action on domestic, nonmilitary spending.
The measure allots $300 million worth of military aide to Ukraine, including radars and antitank weapons.
But it also makes it harder for Obama to make good on his long-term pledge to close Guantanamo.