WASHINGTON (AP) — The Democratic-led House failed Tuesday to override President Donald Trump’s first veto, salvaging his effort to steer billions of extra dollars to erecting border barriers and delivering a victory to the White House in a constitutional and political clash that’s raged for months.

Lawmakers voted 248-181 to overturn Trump’s veto, but that fell 38 votes shy of the required two-thirds margin. Just days after Attorney General William Barr announced that special counsel Robert Mueller had found Trump didn’t scheme with Russia to help his 2016 election, Tuesday’s vote bolstered Trump’s drive to build a wall along the boundary with Mexico, a hallmark of his 2016 presidential campaign and a priority of his presidency.

While clearly a defeat for Democrats, the vote afforded them a chance to reemphasize policy differences with Trump and change the subject from collusion allegations that have lost political clout. Underscoring that, House Speaker Nancy Pelosi placed her name atop a House Democratic fundraising email referencing the failed veto override, writing, “I know grassroots Democrats won’t let Trump’s enablers get away with this.”