A federal judge has delivered a major legal setback to the Trump administration, ruling that the government violated constitutional protections when it canceled billions of dollars in clean energy grants tied to states that voted against President Donald Trump in the 2024 election.
The decision has ignited a fierce national debate over whether federal spending decisions can be influenced by political geography and whether government agencies crossed a constitutional line by targeting projects in states that supported Kamala Harris.
U.S. District Judge Amit Mehta found that the administration’s cancellation of clean energy awards appeared to be driven primarily by the political choices of the states where those projects were located. The judge said the government failed to provide a legitimate reason for treating those states differently from others.
The case centered on roughly $7.6 billion in clean energy grants connected to hundreds of projects across 16 states. The canceled projects included hydrogen development, battery manufacturing, electric grid upgrades, and carbon capture initiatives.
The ruling has become a flashpoint because critics argue the cancellations punished millions of residents based on election results, while supporters of the cuts say the administration was fulfilling a promise to end climate spending it considered unnecessary.
The court challenges the reasoning behind the cancellations

Judge Mehta’s ruling focused on the government’s explanation for ending the grants. According to the court, officials acknowledged that the locations of the projects played a central role in deciding which awards would be terminated.
The judge wrote that the administration’s actions were based “primarily, if not exclusively” on whether the recipients were located in states whose voters supported Trump’s opponent.
That finding became the foundation of the court’s equal protection analysis. The judge determined that the government could not justify canceling projects simply because they existed in states with a different political preference.
The Constitution allows administrations to change policies and review government spending. However, the ruling emphasized that federal decisions must still follow legal standards and cannot be based on political retaliation against certain groups or regions.
The case also raised questions about how the cancellations were carried out. According to court documents, some termination notices were sent in unusual formats, with “Department of Energy” typed at the top rather than appearing on traditional agency letterhead.
For opponents of the cuts, the paperwork added to concerns that the process was rushed and politically motivated.
Billions in investments and thousands of jobs caught in the fight

The impact of the cancellations extended far beyond government offices. Several states warned that the decision could affect major economic projects, private investments, and future job creation.
California faced one of the largest potential losses, with up to $1.2 billion in federal support connected to a hydrogen hub project. State officials argued that the project represented a major investment in clean energy infrastructure and could support more than 200,000 jobs.
The state also pointed to billions of dollars in private investment already connected to the project, warning that removing federal support could create uncertainty for companies that had planned around the funding.
Other canceled projects involved battery production facilities, clean energy manufacturing, grid improvements, and technology aimed at reducing carbon emissions.
Supporters of the administration’s decision argued that taxpayer money should not automatically continue flowing into projects simply because they were previously approved. They said the Energy Department had a responsibility to review whether projects delivered enough value for Americans.
The Department of Energy defended the cancellations, saying the review process examined whether projects met national energy priorities and whether they provided sufficient benefits to taxpayers.
However, critics argued that similar projects in states that supported Trump were not treated the same way, creating the appearance of political favoritism.
A political battle over climate policy and federal power
The controversy grew after White House budget director Russell Vought publicly celebrated the cancellations, describing them as a move against what he called “the Left’s climate agenda.”
That statement intensified accusations that the grant decisions were connected to political goals rather than only financial or energy concerns.
For environmental groups, labor organizations, and state officials, the ruling represented a defense of the idea that federal programs should serve Americans regardless of how their state voted.
They argued that federal funding decisions should not become tools for rewarding political allies or punishing opponents.
Republican supporters of the cancellations, however, viewed the decision as part of a broader effort to reverse policies created under previous Democratic administrations. They argued that voters elected Trump partly because of promises to reduce climate spending and change the country’s energy direction.
The dispute highlights a larger fight over presidential authority. Every new administration has the power to reshape government priorities, but courts continue to examine where policy changes cross into unlawful government action.
What happens next after the ruling
Judge Mehta’s decision does not automatically restore every canceled grant. The ruling directly affected the plaintiffs involved in the lawsuit, while other project recipients may need to pursue separate legal challenges.
The Energy Department has continued defending its actions and has indicated disagreement with the court’s interpretation.
The broader legal fight is likely to continue as both sides debate the limits of executive power and the role of politics in federal funding decisions.
At its core, the case raises a question that reaches beyond clean energy: Can a government change its priorities without allowing political differences to determine who receives support?
Judge Mehta’s ruling sends a clear message that while administrations can change direction, constitutional protections remain in place. Federal power may shift from one president to another, but the rules governing that power do not disappear with an election.