The Republican-led Senate on Thursday defeated a resolution to remove U.S. forces from hostilities with Iran, in a vote forced by Democrats seeking to highlight fallout from the war in their bid to win back control of Congress.

The resolution failed by a vote of 49 to 50.

The vote came as more Republicans have begun to distance themselves from President Trump over the war, even as others in the party have continued to support it.

Among those speaking out in recent days is Rep. Ashley Hinson, R-Iowa, who is in a tight race for an open Senate seat in her state. In a social media post this week, Hinson wrote, “Iowans are being squeezed and shouldn’t have to foot the bill at the pump or the checkout line for the war in Iran.”