TC Energy Corp. and the Alberta government late Wednesday announced formal and final termination of the suspended Keystone XL oil export pipeline, but they reserved the right to seek compensation for rejection of the project in the United States.

“An orderly exit” would honor remaining environmental and regulatory commitments, said the Calgary pipeline company and Alberta officials. “The two parties will continue to explore all options to recoup the government’s investment in the project.”

As project leader, TC Energy recorded a C$2.2 billion ($1.8 billion) loss after President Biden kept a 2020 election promise to scrap a permit granted by former President Trump that had allowed Keystone to begin construction.

The formal termination transfers about half the loss to the Alberta government. Officials had not disclosed how much its loss would be as of Wednesday but predicted it would be within C$1.3 billion ($1.04 billion).

“We remain disappointed and frustrated,” said Alberta Premier Jason Kenney. By the time Biden acted, up to 1,600 workers had installed nearly 150 kilometers (90 miles) of Keystone pipe in Canada. TC Energy also had started building pump stations in the Lower 48.

“The pipeline’s completion would have led to higher prices as well as increased volumes of oilsands crude production, generating at least C$30 billion [$24 billion] in increased royalties over 20 years for Alberta taxpayers,” Alberta government officials noted.

From a financial point of view, canceling Keystone cleared away a cloud that had darkened TC Energy’s outlook for nearly a decade because of regulatory and political conflict.

“We had viewed the planned construction of the pipeline as credit negative for TC Energy because of the very high level of execution risk related to environmental, social and governance factors that the project entailed,” said Moody’s Investors Service analyst Gavin MacFarlane.

“Keystone XL has been a symbol for the challenges the sector has faced in getting high profile projects permitted and built not just in Western Canada but across North America.”

TC Energy President Francois Poirier predicted Canadian and U.S. services by the pipeline and power conglomerate would continue to expand regardless of the Keystone loss. 

“The company continues to progress C$20 billion [$16 billion] of secured growth projects, C$7 billion [$5.6 billion] of projects under development, and numerous additional initiatives aligned with its risk preferences and return criteria,” said Poirier.

“Looking forward, there is tremendous opportunity for TC Energy in the energy transition with its irreplaceable asset footprint, financial strength and organizational capabilities positioning it to capture further significant and compelling growth.”

The U.S. Chamber of Commerce said it understood TC Energy’s decision to cancel the project.

The Keystone termination “is understandable, but necessary only because of the policy errors of the administration,” said the Chamber’s Marty Durbin, president of the Global Energy Institute. “This episode is also a black mark for our relationship with our close ally to the north, Canada, and will have repercussions for our ability to attract private investment for years to come,” said Durbin.

Shortly after the news hit Wednesday evening, the American Petroleum Institute (API) expressed disappointment. “It’s unfortunate that political obstructionism led to the termination of #KeystoneXL,” the API tweeted. “This is a blow to U.S. energy security and a blow to the thousands of good-paying union jobs this project would have supported.”

Opponents declared victory, with some considering it a historic turning point for environmental justice. “The cancellation of Keystone XL is a reminder that this project was never needed and never in the public interest, and that it is time for the fossil fuel era to rapidly come to a close,” said Oil Change International communications director David Turnbull.