(Bloomberg) — When Barack Obama and Vladimir Putin met at the Group of 20 summit in Mexico in 2012, Europe was reeling from the Greek debt crisis and the Arab world was aflame from Libya to Syria.

So U.S. officials were stunned when the first thing Putin wanted to talk about was the love affair his oil giant Rosneft was having with Rex Tillerson’s Exxon Mobil, according to a person in the room. Just two months earlier, Putin had personally presided over their latest deal, which gave Rosneft access to cutting-edge drilling technologies and Exxon a share of potentially tens of billions of barrels of oil in the Arctic and in the Black Sea.

Tillerson has been cultivating Putin since they first met on the Far East island of Sakhalin in 1999, after the retired KGB colonel suddenly became prime minister. President-elect Donald Trump hailed Tillerson’s oversight of a company active across the globe in nominating him to be secretary of state last week. But the lifelong oilman will face intense grilling in Congress next month over whether he can put the national interest first, particularly in Russia, where he’s spent almost two decades building a relationship with a former spy Sen. John McCain called “a bully and a murderer.”

At the time of their initial meeting, the hard-nosed Texan was balking at committing the billions of dollars needed to reach the rich offshore deposits at Exxon’s Sakhalin-1 project without a stable government in Moscow, a partner in its production sharing agreement. Boris Yeltsin had chewed through four premiers in 16 months before resigning that Dec. 31 after settling on Putin, who was determined to reassert government control over an outmoded industry that had been decimated and privatized after the Soviet Union’s demise.

‘He Knows Everything’

Tillerson, who like Putin was born in 1952, when Harry S. Truman and Josef Stalin were dividing up the world, quickly won the new president’s heart by standing by Exxon’s cash-strapped Sakhalin-1 partner, state-run Rosneft. He doubled down on the remote and risky development, which is closer to Tokyo than Moscow, later saying work accelerated after Putin took over the country.

“Tillerson met with every minister, governor, everyone who could influence Sakhalin-1,” Igor Yusufov, Putin’s energy minister from 2001 to 2004, said in an interview in Moscow. “He’s gone through everything and knows everything.”

When Exxon and Rosneft’s legal status at Sakhalin-1 was finalized in 1996, the Russian company’s output was just 240,000 barrels a day, a fraction of its Soviet-era peak. Within a decade, the island project alone was pumping a quarter million barrels a day, helping Rosneft fund a wave of takeovers that would boost its production 20-fold to surpass China and even Exxon itself.

For Exxon, Tillerson not only built a cash cow that will pay off for decades, he created an engineering marvel that redefined what’s possible in hostile climes, breaking multiple world drilling records, including a well eight miles long. Impressed by his ability to master one of the most treacherous — and potentially lucrative — business environments in the world, Exxon rewarded Tillerson with the dual titles of chairman and CEO in 2006.

Putin v. Khodorkovsky

But it may be what Tillerson, and his boss at the time, Lee Raymond, didn’t do that earned Putin’s lasting respect — buy a stake in Yukos.

In 2003, Mikhail Khodorkovsky, who’d assembled Yukos from assets acquired in rigged auctions under Yeltsin, had become an investor darling by championing corporate transparency, while using his unrivaled wealth to challenge Putin by funding opposition lawmakers. He was also trying to sell a chunk of Yukos to Exxon, in part for the political insurance he figured would come with being tied to a huge Texas-based oil company while a Texas oilman was in the White House. Two years earlier, George W. Bush said he looked Putin “in the eye” and found him “very straight-forward and trustworthy.”

Allowing Exxon, or any foreign company, to gain a major stake in Russia’s largest oil producer at the time was unacceptable to Putin, particularly since he considered Yukos stolen property. Officials in Moscow made that position clear to Tillerson, who eventually decided that the downside of doing a deal far outweighed the upside, said Yuri Shafranik, a former energy minister who chairs Soyuzneftegaz, an oil and gas company with interests in Iraq and Syria.

“I told Tillerson and four of his deputies in September 2003 that the powers that be believed Yukos was taken from the people illegally,” Shafranik said in an interview. “He showed deep political wisdom by backing out — Exxon would not have been able to do business in Russia again if he had not.”

A month later, Khodorkovsky was arrested in his airplane on the tarmac of a Siberian airport. He would eventually serve 10 years in prison on charges including fraud, while Yukos was hit with more than $30 billion of back taxes, broken up and sold off, mainly to Rosneft. Putin appointed his longtime ally, Igor Sechin, chairman of Rosneft in 2004.

Khodorkovsky, who’s now based in London, said by e-mail that he remembers Tillerson as a “good man” who reminded him of the late Viktor Chernomyrdin, a former Gazprom chairman and Yeltsin’s longest-serving prime minister.

Sechin, Motorcycles

The ties Tillerson’s forged with Putin and Sechin over the years makes him an ideal choice from the Russian perspective to become secretary of state, according to more than a dozen officials and businessmen in Moscow, including billionaire Mikhail Fridman, a former partner of BP Plc, a Rosneft shareholder.

Tillerson’s relationship with Rosneft was instrumental in Sakhalin-1 avoiding the fate of Sakhalin-2 when government officials started attacking Yeltsin-era production sharing agreements a decade ago, according to an executive involved in Sakhalin-1 at the time who asked not to be identified.

After months of intense pressure and very public squabbling, Royal Dutch Shell in 2006 was forced to cede control of Sakhalin-2, operator of Russia’s first liquefied natural gas plant, to its partner Gazprom, Rosneft’s bitter state-run rival. Tillerson was wise to keep a low profile during that conflict and let Rosneft deal with officials in Moscow behind the scenes, the executive said.

Sechin, who once said he wished he and Tillerson could tour America on motorcycles together, was the Exxon chief’s guest on his first trip to the U.S. in 2012. The two oil titans visited Wall Street and the Irving-based company’s campus. A year later, Putin awarded Tillerson the Order of Friendship medal.

Managing Trump

Still, Sakhalin-1 hasn’t been free of conflict. Its three fields have more than 2 billion barrels of potentially recoverable oil and 485 billion cubic meters of gas, enough to meet EU demand for a year. But efforts to export gas have been blocked by Gazprom and its allies in Moscow, so Exxon simply pumps the bulk of the gas it produces alongside crude back into the ground, waiting.

And last year, Exxon took the unusual step of suing Russia in international court for about $500 million in disputed Sakhalin-1 taxes.

Tillerson put on his diplomacy hat last year and flew to Moscow to discuss the legal action with Energy Minister Alexander Novak. While Tillerson usually met with Putin while in town, he wasn’t on the president’s agenda that time, according to Dmitry Peskov, the Kremlin’s spokesman. Sechin and Exxon have both said they hope the dispute is settled amicably.

“We are working with the government to resolve the issue,” Exxon spokesman William Holbrook said by phone Wednesday.

Since filing the claim, Tillerson has flouted the Obama administration by attending Putin’s annual investment showcase in St. Petersburg and repeating his criticism of sanctions imposed over Putin’s actions in Ukraine, which halted Exxon’s Arctic activities in Russia. And this month, Exxon successfully lobbied against a bill in Washington that would have made it harder for Trump to lift those penalties, according to Politico.

Firm diplomacy, that’s the Exxon way that Tillerson has followed for decades, earning Russia’s respect by not bending, according to Edward Chow, a senior fellow at the Center for Strategic and International Studies in Washington.

“The big question is whether a guy who’s worked in such a strong, closely knit corporate culture for 40 years can pivot and be effective as a global diplomat,” Chow said. “Nobody knows the answer to that, but if you can deal with Putin and Sechin, then you can manage Trump, if anyone can manage Trump.”


Bloomberg News by Stephen Bierman, Irina Reznik and Gregory L. White