President Donald Trump threatened to veto a massive government spending package over border wall funding measures, a senior White House official and two senior House Republican aides told The Atlantic. The president is also “upset” that the bill lacks a measure to defund sanctuary cities, both sources added.

“He certainly wants the wall money,” the senior White House official said. “And he knows the ink is not dry yet on the bill.”

Another White House official told The Atlantic that Trump’s comments about the border wall in particular indicate the president’s broader dissatisfaction with congressional leaders, who he believes have been stagnant on moving ahead with his core campaign promise.

All four officials spoke on condition of anonymity, citing the sensitive nature of the negotiations.

The $1.3 trillion omnibus bill currently includes $1.6 billion for “border security” measures, including more border agents and funding for the construction of wall prototypes, and just $641 million for the wall itself—far shy of the $25 billion Trump requested.

House conservatives have groused in recent days that Republican leaders have all but abandoned efforts to follow through on Trump’s core campaign promises related to immigration. “They don’t even pretend anymore to want it,” said one senior aide to a conservative member about the border wall, who requested anonymity to talk about private discussions.