House Democrats' attempt to override President Donald Trump's first veto failed Tuesday, leaving the president's national emergency declaration in place for now.

The chamber fell short of the two-thirds majority needed to overcome the president's opposition to a resolution that would end his executive action. Only 14 Republicans joined with Democrats in voting to override the veto in a 248-181 vote — one more GOP representative than when the House passed the measure last month.

In a joint statement, House Speaker Nancy Pelosi and Rep. Joaquin Castro, a Texas Democrat who authored the resolution, said the congressional votes would "provide significant evidence for the courts as they review lawsuits" challenging the move to secure money for the president's proposed border wall. They signaled the House would vote again on ending the national emergency in six months, which lawmakers can do as long as it is in effect.

"The President's lawless emergency declaration clearly violates the Congress's exclusive power of the purse, and Congress will work through the appropriations and defense authorization processes to terminate this dangerous action and restore our constitutional system of balance of powers," they said following the vote. "In six months, the Congress will have another opportunity to put a stop to this President's wrongdoing. We will continue to review all options to protect our Constitution and our Democracy from the President's assault."