POLITICO reports:

House Republicans were planning to pass a spending bill stacked with his campaign promises, including money to build his border wall with Mexico.

TRENDING: Unhinged Quebec Woman Pascale Ferrier Identified as Suspect in Case of Ricin Letter Sent to Trump White House

But an internal House Republican fight over transgender troops was threatening to blow up the bill. And House GOP insiders feared they might not have the votes to pass the legislation because defense hawks wanted a ban on Pentagon-funded sex reassignment operations — something GOP leaders wouldn’t give them.

They turned to Trump, who didn’t hesitate. In the flash of a tweet, he announced that transgender troops would be banned altogether.

Trump’s sudden decision was, in part, a last-ditch attempt to save a House proposal full of his campaign promises that was on the verge of defeat, numerous congressional and White House sources said.

The president had always planned to scale back President Barack Obama-era policies welcoming such individuals in combat and greenlighting the military to pay for their medical treatment plans. But a behind-the-scenes GOP brawl threatening to tank a Pentagon funding increase and wall construction hastened Trump’s decision.

Numerous House conservatives and defense hawks this week had threatened to derail their own legislation if it did not include a prohibition on Pentagon funding for gender reassignment surgeries, which they deem a waste of taxpayer money. But GOP leaders were caught in a pinch between those demands and moderate Republicans who felt the proposal was blatantly discriminatory.