ExxonMobil Corp. will exit some joint ventures with Russia’s Rosneft, citing Western sanctions first imposed in 2014, while the Russian company said the pullout will result in serious losses for its U.S. partner.

The move is an about-face for ExxonMobil, which had opposed the sanctions over Russia’s invasion of Crimea and argued they unfairly penalized U.S. companies while allowing foreign energy rivals to operate in the country, the world’s largest oil producer.

Yet the sanctions were effective in slowing work on a project by ExxonMobil and Rosneft on what was hailed as a major discovery in the Kara Sea above the Arctic Circle. Rosneft, Russia’s largest oil company, said last year that it planned to return to operations at the project in 2019.

ExxonMobil’s exit from projects will not affect the Sakhalin project off the eastern coast of Russia, ExxonMobil and Rosneft spokesmen said. Sakhalin-1 operates under a production-sharing agreement struck in the mid-1990s and currently produces about 200,000 barrels of oil per day.

Representatives for the U.S. Department of State and Treasury Department did not have immediate comment. The joint ventures were reached when U.S. Secretary of State Rex Tillerson was ExxonMobil’s CEO.

A Rosneft spokesman said ExxonMobil would incur serious losses because of the decision.

Rosneft spokesman Mikhail Leontyev said ExxonMobil had been forced to take what he called a predictable decision but confirmed the move would not affect the Sakhalin-1 joint venture.

“It [ExxonMobil] will suffer serious losses as a result of this [decision],” Leontyev said.

ExxonMobil said it will formally start the process of withdrawing from the joint ventures this year.

In 2012, ExxonMobil and Rosneft detailed an exploration partnership with plans to invest as much as $500 billion in developing Russia's Arctic and Black Sea oil reserves. Further deals were signed in 2014.

ExxonMobil said in a financial filing on Feb. 28 that it recorded a fourth quarter after-tax loss of $200 million due to the withdrawal plan.

The United States and the European Union imposed economic sanctions on Russia over its annexation of Crimea in 2014 and its role in eastern Ukraine conflicts.

The U.S. government also imposed sanctions on Rosneft CEO Igor Sechin that year.

The sanctions prohibit U.S. citizens or people in the United States from dealing with those on the blacklist, such as Sechin. Rosneft itself is subject to narrower U.S. sanctions that still allow Americans to deal with the company on some transactions.

The U.S. government fined ExxonMobil $2 million for signing the joint ventures just after sanctions were imposed in 2014, saying the company showed a “reckless disregard” for the sanctions. ExxonMobil called the fine “capricious” and appealed it.

Still, ExxonMobil wound down drilling in Russia’s Arctic in 2014 after the sanctions were imposed. ExxonMobil was allowed to finish some drilling projects as the sanctions took effect.