On February 15, 2019, President of the United States Donald Trump declared a National Emergency Concerning the Southern Border of the United States (Proclamation 9844), citing the National Emergencies Act, and ordered the diversion of billions of dollars of funds that had been appropriated to the U.S. Department of Defense for military construction. Trump declared the emergency after he signed, but derided, a bipartisan funding bill (passed by the House and the Senate a day before) containing border security funding without funding for the border wall that Trump demanded. Trump had previously threatened to declare a national emergency if Congress did not pass his entire desired program for a wall on the United States–Mexican border by February 15, 2019. Under Proclamation 9844, the Trump administration plans to redirect $8 billion in previously-agreed expenditure and to use the money to build the wall instead. Under Trump's plan $3.6 billion assigned to military construction, $2.5 billion meant for the Department of Defense's drug interdiction activities, and $600 million from Treasury's forfeiture fund would be diverted for wall construction. Trump’s declaration was unprecedented in that none of the 58 previous emergency declarations made by U.S. presidents involved circumventing Congress to spend money it had expressly refused to authorize or allocate. Trump's declaration of a national emergency was condemned by Democrats as unconstitutional; U.S. Speaker of the House Nancy Pelosi and Senate Minority Leader Chuck Schumer called the declaration an affront to the rule of law that was "a lawless act, a gross abuse of the power of the presidency and a desperate attempt to distract from the fact that President Trump broke his core promise to have Mexico pay for his wall." Some Republicans also criticized Trump's declaration, fearing the circumventing Congress would set a dangerous precedent for the future. Congress passed a joint resolution to terminate the national emergency, but it was vetoed by Trump in his first veto. Trump's declaration of a national emergency was immediately challenged in federal court, with California and sixteen other states suing the federal government on separation of powers grounds. The Sierra Club and ACLU brought a similar suit. In 2019, a U.S. district court issued a preliminary injunction, and later a permanent injunction, in the Sierra Club suit, blocking Trump from diverting military funds for construction of a border wall. In July 2019, the Supreme Court, in a 5–4, one-paragraph ruling, overturned the lower court's ruling in Trump v. Sierra Club that blocked the use of funds to construct the border wall pending further legal proceedings; the Supreme Court majority found that the Sierra Club likely lacked legal standing. In October 2019, in a separate case, a U.S. district court in Texas found that the El Paso County, Texas and the Border Network for Human Rights had legal standing to challenge Trump's attempt to divert $3.6 billion in military construction for wall construction along the Mexico border, and in December 2019, the court issued a permanent injunction blocking the attempted diversion of funds. The ruling did not affect the use of other funds that the Trump administration designed for wall construction, such as counter-drug and Treasury Forfeiture Funds.