Exxon Mobil said Tuesday that it would end its involvement in a large oil and natural gas project in Russia, becoming the latest Western oil company to announce that it is leaving the country after Russia invaded Ukraine.

Three oil and gas fields near the eastern Russian island of Sakhalin have been developed in partnership with Exxon, as well as one each from Japan and India. Exxon has a 30 percent stake in the project, which contributes 2 percent of the company's global production.

The Texas-based company has operated in Russia for 25 years, but stopped doing so after Russia invaded and annexed the part of Ukraine it did not want.

The two companies announced plans to sell their Russian investments on Sunday and Monday. TotalEnergies of France said on Tuesday that it would not invest more money in Russia, but would keep its existing operations and investments in the country.

The era of mass entry of Western companies into Russia began at the end of the Cold War. The country, which has some of the world's largest reserves of oil, natural gas and other commodities, was once thought to be a promising emerging market. Russia has become a pariah to the international business community because of President Putin's policies.

Equinor of Norway, one of the major international oil companies, said on Monday that it planned to leave Russia. Some companies own stakes in the oil and gas industry.

Exxon Mobil supports the people of Ukraine as they attempt to defend their freedom and determine their own future, the company said in a statement.

The company will not make any new investments in Russia and will not leave the country immediately.

The company said it has an obligation to ensure the safety of people, protection of the environment and integrity of operations. The process to stop operations will need to be carefully managed and coordinated with the co-venturers.