A federal judge handed down a decision that was a defeat for Democrats attempting to block the funding re-direction toward construction of President Donald Trump's border wall.

Democrats were upset that the president called a national emergency on the U.S.-Mexico border and then ordered funds to come from the military in order to work around the will of Congress.

The Trump administration argued that Congress had no standing to litigate the claim against the Executive branch.

Judge Trevor McFadden disagreed with the Democrats and sided with the Trump administration.

"This is a case about whether one chamber of Congress has the 'constitutional means' to conscript the Judiciary in a political turf war with the President over the implementation of legislation," McFadden said in the judgment. "[W]hile the Constitution bestows upon Members of the House many powers, it does not grant them standing to hale the Executive Branch into court claiming a dilution of Congress's legislative authority.

"The Court therefore lacks jurisdiction to hear the House's claims and will deny its motion," he concluded.

On Friday, the president tweeted that the U.S. would be slapping Mexico with a tariff that would grow every month until they took steps to diminish the onslaught of migrants arriving at the border.

Here's the latest in the battle over the border wall: