CASTLE DALE, UT - OCTOBER  9: Emissions rise from the smokestacks of Pacificorp's 1440 megawatt coal fired power plant on October 9, 2017 in Castle Dale, Utah.  It was announced today that the Trump administration's EPA will repeal the Clean Power Plan,that was put in place by the Obama administration.  (Photo by George Frey/Getty Images)
PHOTO: George Frey/Getty Images
CASTLE DALE, UT - OCTOBER 9: Emissions rise from the smokestacks of Pacificorp's 1440 megawatt coal fired power plant on October 9, 2017 in Castle Dale, Utah. It was announced today that the Trump administration's EPA will repeal the Clean Power Plan,that was put in place by the Obama administration. (Photo by George Frey/Getty Images)
Now playing
02:11
Why climate change worries the world's largest companies
marketplace africa mauritius tuna fishing industry spc_00045323.png
marketplace africa mauritius tuna fishing industry spc_00045323.png
Now playing
05:23
How sustainability is lifting the tuna industry in Mauritius
02 Bill Gates AC intv 02202021
PHOTO: CNN
02 Bill Gates AC intv 02202021
Now playing
02:13
Bill Gates optimistic about climate policy under Biden WH
A 2x2 grid split screen showing Donald Trump and Joe Biden and energy industry equipment.
PHOTO: CNN
A 2x2 grid split screen showing Donald Trump and Joe Biden and energy industry equipment.
Now playing
03:09
The future of renewable energy could look very different under Biden
Now playing
03:36
Could this be the cure to our plastic problem?
exp solar photovoltaics energy perovskites spc intl_00014204.jpg
exp solar photovoltaics energy perovskites spc intl_00014204.jpg
Now playing
02:45
This material could transform the solar energy sector
Now playing
02:39
Shipping industry adapts to stricter fuel regulations
Now playing
03:46
Rush shipping is often free. But the environment could be paying for it
WASHINGTON, DC - SEPTEMBER 13:  Teenage Swedish climate activist Greta Thunberg delivers brief remarks surrounded by other student environmental advocates during a strike to demand action be taken on climate change outside the White House on September 13, 2019 in Washington, DC. The strike is part of Thunberg's six day visit to Washington ahead of the Global Climate Strike scheduled for September 20. (Photo by Sarah Silbiger/Getty Images)
PHOTO: Sarah Silbiger/Getty Images
WASHINGTON, DC - SEPTEMBER 13: Teenage Swedish climate activist Greta Thunberg delivers brief remarks surrounded by other student environmental advocates during a strike to demand action be taken on climate change outside the White House on September 13, 2019 in Washington, DC. The strike is part of Thunberg's six day visit to Washington ahead of the Global Climate Strike scheduled for September 20. (Photo by Sarah Silbiger/Getty Images)
Now playing
02:25
Meet the teen changing the game for climate change
Ubiquitous Energy solar glass
PHOTO: Natalia V. Osipova
Ubiquitous Energy solar glass
Now playing
02:32
This glass could turn skyscrapers into power generators
Now playing
01:04
This car's headlamps are made out of McDonald's coffee
PHOTO: Heliogen
Now playing
02:48
This energy startup has made a solar breakthrough
PHOTO: Tulane University
Now playing
01:25
Apple's Tim Cook says his generation failed on climate change
PHOTO: Adidas
Now playing
01:12
These Adidas running shoes are 100% recyclable
PHOTO: Photo Illustration: Getty Images / Loop / CNN
Now playing
03:50
How the world's biggest brands plan to end garbage
Now playing
01:30
5 ways to cut your plastic waste
(CNN Business) —  

A New York judge Tuesday ruled that ExxonMobil did not mislead investors about how it accounted for the cost of climate change regulations.

The suit, brought by the New York state attorney general, alleged the company used one dollar figure for its internal estimates, yet told the public it was using a higher figure. ExxonMobil (XOM) denied the allegations and said the two numbers were used for different financial impacts from climate change regulation.

“The Office of the Attorney General failed to prove, by a preponderance of the evidence, that ExxonMobil made any material misstatements or omissions about its practices and procedures that misled any reasonable investor,” Judge Barry Ostrager wrote in the decision.

Ostrager said the testimony of New York attorney general’s witnesses was “eviscerated” by Exxon’s lawyers and expert witnesses.

Former Exxon CEO and former Secretary of State Rex Tillerson testified for the defense. during the trial.

A spokesman for the New York attorney general’s office told CNN the state is reviewing Judge Ostrager’s decision. Exxon called the allegations “baseless.”

“Today’s ruling affirms the position ExxonMobil has held,” the company said. “ExxonMobil will continue to invest in researching breakthrough technologies to reduce emissions while meeting society’s growing demand for energy.”

Greenpeace defended New York’s lawsuit and called Exxon deceptive.

“Exxon and its friends will eventually have to take responsibility for the decades of deception about knowingly contributing to climate change,” Vicky Wyatt, senior climate campaigner at Greenpeace USA, said in a statement.

Despite the setback, Wyatt predicted continued efforts to rein in Exxon and other oil companies.

“The people will not stop. We’re seeing a wave of frontline communities, political leaders and investors demanding accountability and bold action as climate impacts worsen and become costlier,” she said.

– CNN’s Kate Trafecante and Matt Egan contributed to this report