President Trump touted the victories he said Republicans secured with a spending deal struck in Congress this week, noting Tuesday that the legislation included increased funding for the military and for border security.

"In our new budget — and it's been a very hotly contested budget, because as you know we have to go through a long and rigorous process — but we ended years of painful cuts to our military," Trump said during an Air Force Academy event at the White House. "We did so without having to put in place an equal increase in non-defense spending."

Trump and his budget director, Mick Mulvaney, have touted the fact that the spending bill ends a years-old practice of dedicating a dollar to non-defense causes for each dollar directed to the Pentagon. White House officials have worked this week to portray the legislation as a positive achievement for Republicans rather than a concession to Democrats made in order to prevent a partial government shutdown.

"After years of partisan bickering and gridlock, this bill is a clear win for the American people," Trump said.

"We achieved the single largest increase in border security funding in 10 years, so we have more money now for the border then we've gotten in 10 years," the president said. "The Democrats didn't tell you that. They forgot."

Trump noted the bill did not preclude his administration from withholding cost-sharing reduction payments to insurance providers, without which many providers would likely exit the Obamacare exchanges. The controversial payments have been at the center of a debate over what the Trump administration should do to preserve the current healthcare system while Republicans work out a replacement plan on Capitol Hill.

Conservative lawmakers have criticized the spending deal for funding many Democratic priorities over Republican ones. The legislation did not include funding specifically for the border wall, and it preserved funding for Planned Parenthood.