As Donald Trump plotted his return to the White House in late 2023, a group of campaign advisers began working on a plan to compensate political allies they believed were unfairly targeted by the federal government, two people familiar with the deliberations told CNN.

The team spent months on the proposal in the lead-up to Trump’s election. But there was a major roadblock: they couldn’t find a viable funding source for the payouts. So, the advisers shelved the plan.

Then Trump’s $10 billion lawsuit against his own IRS started to flounder and the long-dormant campaign idea was suddenly revived. As part of the settlement of that suit, the administration created an unprecedented legal initiative that could funnel nearly $1.8 billion in taxpayer money to Trump friends and supporters.

“The concept was always there, but the question mark was the funding,” said one of the people familiar with the deliberations. “But along comes this case and it’s like, hey wait a minute, there it is.”

The Justice Department’s fund is now poised to dole out hefty sums to those deemed victims of “lawfare and weaponization,” with few apparent limits on who is eligible and for what perceived offenses. It will draw on money from an obscure account that officials located within the Treasury Department originally meant for settling lawsuits filed against the government.