Mr. Trump vetoed the law in April calling for the War Powers Act to end US military support for the campaign.
Another amendment, also passed on Thursday, would prevent the Trump administration from claiming emergency authority for the transfer of ammunition to the kingdom.
Progressives, who initially asked if they would support the defensive law, were encouraged by these provisions, as well as by an amendment to reintroduce transgender people into military service and lift the ban on Mr Trump. Another would expire the approval of military force attacks after September 11, 2001, which has since been used to justify military action around the world.
A series of cross-party amendments, led by Republicans, have passed through the house, including a move by Wisconsin's Mike Gallagher, according to which the Commerce Department must keep the Chinese telecommunications company Huawei on its blacklist until it can be confirmed that the company does not pose a threat to US telecommunications and infrastructure. Mr. Trump had recently pledged to ease the ban on the company, although it was feared that the company could pose a threat to national security, preventing the president from sending troops to the Mexican border to enforce immigration laws The Ministry of Defense prevented migrants from being housed in its centers. "It's embarrassing," said Republican Representative Mac Thornberry of Texas, the Supreme Republican in the Armed Forces Committee. They are fundamentally unable to fulfill our constitutional duty, and they fail in the most important thing we do, deserve the sacrifice of those men and women who put on the uniform and protect all of us. Said Representative Liz Cheney of Wyoming, No. 3 Republican. "If Congress politicizes the National Defense Authorization Act, we are not worthy of the men and women who defend us at the front today."