President Trump marked the $1.3 trillion budget agreement Wednesday night by touting funding for a wall on the southern border while blasting “Dem giveaways.”

“Got $1.6 Billion to start Wall on Southern Border, rest will be forthcoming,” Trump tweeted.

“Most importantly, got $700 Billion to rebuild our Military, $716 Billion next year…most ever. Had to waste money on Dem giveaways in order to take care of military pay increase and new equipment.”

Read:Congressional leaders agree on $1.3 trillion spending bill to avert shutdown

Trump also added that, “Democrats refused to take care of DACA. Would have been so easy, but they just didn’t care. I had to fight for Military and start of Wall.”

The Trump administration ended DACA — Deferred Action for Childhood Arrivals — last year. The program protected nearly 800,000 young undocumented immigrants brought to the US as children from deportation.

House Speaker Paul Ryan had to dash to the White House earlier on Wednesday night amid concerns Trump’s support was wavering on the huge spending bill.

Negotiators stumbled toward an end-of-the-week deadline to fund the government or face a federal shutdown.

“No bill of this size is perfect,” Ryan said. “But this legislation addresses important priorities and makes us stronger at home and abroad.”

A version of this report appears on NYPost.com.