Twelve Senate Republicans rebuked President Donald Trump on Thursday by voting to block his declaration of a national emergency at the southern border.

The group includes moderate senators — including one up for re-election in 2020 — and conservatives who balked at the president circumventing Congress. Trump declared a national emergency last month after lawmakers failed to appropriate his desired funds for a border wall. (Six of the 12 Republicans who joined every Democratic senator in supporting the resolution serve on the Appropriations Committee.)

Trump tweeted Thursday morning that he would veto the resolution to terminate the emergency, which passed the Senate, 59-41, in the afternoon after passing the House late last month. Two-thirds of the vote in both chambers are required to override a veto.

[3 takeaways: experts say ‘Beto’ could beat Trump — if he can get that far]

Despite some Republicans supporting the resolution, it appears that neither chamber would be able to cross that threshold. Pelosi declined to say Thursday whether she would have the House vote to override Trump’s promised veto, saying, “We’ll take it one step at a time.”