The US House of Representatives has narrowly passed a defense department annual budget that includes controversial amendments on abortion and gender reassignment surgery.
The 2024 National Defense Authorization Act (NDAA) must still be passed by the Democrat-controlled Senate, which is unlikely to approve the existing bill.
Democrats say Republicans have hijacked the bill and risk US national security.
The $886bn (£675bn) bill funds the Pentagon for one year.
It also sets its policy agenda and includes a 5.2% pay rise for troops and measures to address China and Russia.