Here are some early reactions from lawmakers and key commentators to President Donald Trump’s announcement on Friday of a deal to end the partial government shutdown, which has lasted 35 days.

Trump said he would agree to a temporary truce to fund shuttered agencies for three weeks while a broader deal on securing the U.S.-Mexico border is negotiated. Senate Minority Leader Chuck Schumer said he expected the president to sign a bill reopening agencies later Friday.

The shutdown was sparked by a dispute between Trump and Democratic lawmakers over money for his proposed wall at the southern border. During the standoff, the president repeatedly said he and Republicans would not “cave.”

• “Good news for George Herbert Walker Bush: As of today, he is no longer the biggest wimp ever to serve as president of the United States.” — Ann Coulter, the outspoken conservative commentator, in a tweet

• “It’s sad, though, that it’s taken this long to come to an obvious conclusion. … I’m glad that we’ve come to a conclusion today as to how we go forward in the next three weeks.” — House Speaker Nancy Pelosi, the California Democrat

• “I was glad to see today the president’s announcement that he and our Democratic colleagues have reached an agreement that will immediately re-open the government, while providing the room to negotiate a funding bill for the Department of Homeland Security. ... Going forward, I hope our Democratic friends will stay true to the commitment they’ve stated constantly over the past weeks — that once the government was re-opened, they’d be perfectly willing to negotiate in good faith on full-year government funding that would include a significant investment in urgently needed border security measures, including physical barriers.” — Senate Majority Leader Mitch McConnell, the Kentucky Republican

• “As soon as the president signs the legislation to open government, we in Congress will roll up our sleeves. I genuinely hope that this process can produce something that is good for the country and acceptable to both sides. We don’t agree on some of the specifics of border security. Democrats are against the wall. But we agree on many things, such as the need for new technology and the need to strengthen security at our ports of entry, and that bodes well for coming to an eventual agreement.” — Senate Minority Leader Chuck Schumer, the New York Democrat

• “The solution to the Trump shutdown has always been simple: reopen the government, pay federal employees, and then begin a period of constructive negotiations on border security. It is sad that it took 35 days of inflicting pain and misery on Americans for President Trump and Republicans to come to their senses and agree to this solution, but it is better late than never. After Congress passes this legislation and President Trump signs it, I look forward to working with my colleagues across the aisle and across the Capitol in conference negotiations to craft a funding bill for the Department of Homeland Security that provides smart, effective solutions for border security while staying true to our values as Americans.” — Rep. Nita Lowey, the New York Democrat and House Appropriations Committee chairwoman

• “Today President Trump demonstrated yet again that he is willing to be flexible and negotiate a solution to end the government shutdown. It’s high time Minority Leader Schumer and Speaker Pelosi end their blockade and come to the table to work out a solution that funds the government for the remainder of the fiscal year and addresses the border crisis. ... The final package should also end government shutdowns once and for all.” — Sen. Chuck Grassley, the Iowa Republican and Senate Finance Committee chairman

• “Is there a white flag flying above the White House?” — Bill Kristol, the conservative commentator known for his “Never Trump” stance, in a tweet

• Trump “should have realized that the party that starts a shutdown in recent decades is the party that ends up losing the fight.” — Washington Post national correspondent Philip Bump in a column

• “Fixed it.” — Rep. Mark Takano, the California Democrat, as he tweeted this altered image of Trump’s well-known book on making deals: