The U.S. Supreme Court on Jan. 7 cleared the way for the attorney general of Massachusetts to obtain records from Exxon Mobil Corp. (NYSE: XOM) to probe whether the oil company for decades concealed its knowledge of the role fossil fuels play in climate change.

The justices declined to hear Exxon Mobil's appeal of a ruling by the top court in Massachusetts holding that state Attorney General Maura Healey, a Democrat, had jurisdiction to seek records to probe whether the company misled consumers and investors.

The high court's action marked the latest setback for Exxon Mobil in its efforts to halt the Massachusetts investigation and a similar one by New York's attorney general, who in October filed a lawsuit against the company.

New York's lawsuit accused Exxon Mobil of engaging in a systematic scheme to deceive investors about the impact that future climate change regulations could have on its business. Exxon Mobil has called the claims "meritless."

The Massachusetts and New York investigations were launched following 2015 news reports that Exxon Mobil's own scientists had determined that fossil fuel combustion must be reduced to mitigate the impact of climate change.

Those news reports, by InsideClimate News and the Los Angeles Times, were based on documents from the 1970s and 1980s. Exxon Mobil said the documents were not inconsistent with its public positions.

Healey in 2016 issued a civil investigative demand to Exxon Mobil seeking documents to investigate whether it had violated the state's consumer-protection law through its marketing and sale of fossil fuel products.

Exxon Mobil said that because it is incorporated in Texas and New Jersey, Healey had no basis to seek documents to conduct a Massachusetts-based investigation.

The Massachusetts Supreme Judicial Court in April held that jurisdiction existed because of Exxon Mobil's control over advertising conducted for about 300 franchise gas stations operating under the Exxon and Mobil brands in Massachusetts.

Exxon Mobil has called the Massachusetts and New York investigations politically motivated.