President Trump on Friday expressed opposition to the "agreement in principle" struck by a bipartisan group of senators to protect so-called "Dreamers" and to enhance border security.

In a series of tweets, Mr. Trump said that it is a "big step backwards" and that his proposed wall along the U.S.-Mexico border was "not properly funded."

The so-called bipartisan DACA deal presented yesterday to myself and a group of Republican Senators and Congressmen was a big step backwards. Wall was not properly funded, Chain & Lottery were made worse and USA would be forced to take large numbers of people from high crime..... — Donald J. Trump (@realDonaldTrump) January 12, 2018

The president reiterated that he wants a merit-based immigration system.

....countries which are doing badly. I want a merit based system of immigration and people who will help take our country to the next level. I want safety and security for our people. I want to stop the massive inflow of drugs. I want to fund our military, not do a Dem defund.... — Donald J. Trump (@realDonaldTrump) January 12, 2018

Mr. Trump then suggested that Democrats would be blamed for a government shutdown over the wall. Congress must pass new government spending by next Friday.

....Because of the Democrats not being interested in life and safety, DACA has now taken a big step backwards. The Dems will threaten “shutdown,” but what they are really doing is shutting down our military, at a time we need it most. Get smart, MAKE AMERICA GREAT AGAIN! — Donald J. Trump (@realDonaldTrump) January 12, 2018

On Thursday afternoon, a group of GOP and Democratic senators said that they had reached a deal while other lawmakers rejected their agreement.

Get Breaking News Delivered to Your Inbox

"President Trump called on Congress to solve the DACA challenge," said a joint statement released by Sens. Lindsey Graham, R-South Carolina; Dick Durbin, D-Illinois; Jeff Flake, R-Arizona; Michael Bennet, D-Colorado; and Bob Menendez, D-New Jersey. "We have been working for four months and have reached an agreement in principle that addresses border security, the diversity visa lottery, chain migration/family reunification, and the Dream Act—the areas outlined by the president. We are now working to build support for that deal in Congress."