Late on Sunday evening, details emerged about a new spending agreement that congressional leaders had reached to keep the federal government open past this week, when current funding runs out, and through the end of September. The deal is looking like a huge victory for Democrats—and a massive failure for Donald Trump and his Republican Party: The bipartisan agreement includes $12.5 billion in new military spending and $1.5 billion more for border security, a major priority for Republican leaders in Congress. The agreement follows weeks of tense negotiations between Democrats and GOP leaders after President Trump insisted that the deal include funding to begin building a wall along the U.S.-Mexico border.