The House passed the defense authorization bill on a nearly party-line vote, 219 to 210, a key victory for Republican leaders.
Several controversial amendments were added to the bill addressing abortion, transgender medical care and diversity initiatives.
The House bill will go nowhere in the Democratic-controlled Senate.