As negotiations to resolve an increasingly bitter dispute over Indonesian mining rules teetered on the brink of collapse, the chairman of Freeport-McMoRan Inc James "Jim Bob" Moffett flew to Jakarta for last-ditch talks.
Indonesia's chief economics minister, Chairul Tanjung, said he had got to a point where he felt only talking directly to the 76-year-old U.S. mining legend might break a deadlock in the six-month row, which had already cost Southeast Asia's top economy more than $1 billion and put thousands of jobs at risk.
In less than two hours the two men had reached an agreement, setting the stage to resume exports and restore badly needed government revenue to the world's fourth most populous nation.
"I just convinced him that this was the maximum the government can give," Tanjung said in an interview. "He believed me, I believed him and we shook hands. Very simple."
Tanjung, one of Indonesia's richest businessmen, was appointed minister in May and made reaching a deal to get mining exports going again a priority to revive an economy suffering its sharpest slowdown since the global financial crisis.
But a looming presidential election had made it even harder to reach a politically unpopular compromise with foreign miners.
Aside from any chemistry between the two successful businessmen, the breakthrough came because Moffett had taken a more flexible approach, said Tanjung.
The dispute with Freeport had centered on its refusal to pay an escalating mineral concentrate export tax and its bid to extend its mining contract. The meeting was only attended by a small number of Indonesian officials and Freeport, and according to Tanjung the solution was to focus on what the two could agree on to get exports restarted and set other issues aside for now.
Freeport agreed to a $115 million down-payment for a smelter, to pay higher royalties and divest more of its Indonesian unit.
Indonesia in return substantially cut the concentrate export tax for Freeport and other miners building smelters.
Moffett is a likable and larger-than-life Louisiana businessman, known for his Elvis impersonations during lighter moments, but also a shrewd deal maker.
Starting his career as a wildcat prospector in Louisiana, Moffett founded McMoRan Oil & Gas Co with two of his partners in 1969 and put together the merger with Freeport 12 years later.
With a 47-year history in Indonesia, Freeport's fortunes were transformed by the discovery of the Grasberg mine in Papua, one of the world's biggest deposits of gold and copper.
Helped by Moffett's ties to late autocratic President Suharto, Freeport won the right in 1988 to mine Grasberg, which has been a lightning rod for grievances over its impact on the environment, security arrangements and revenue sharing.
The recent talks did not touch on Freeport's controversial links to the Suharto family or environmental issues, said Sukhyar, director general for coal and minerals at the ministry, who played a role in the negotiations.
Read MoreThis is Asia's investment moment
In January, Indonesia introduced a mineral ore export ban and the escalating tax on metal concentrate shipments in a bid to force miners to process raw materials to lift their value.
But the tough measures in some cases backfired as miners such as Freeport and Newmont Mining said the rules breached their contracts and exports stopped.
The stakes were high on both sides.
The Grasberg complex in Papua provided around a fifth of Freeport's global revenue last year.
In Indonesia, the company employs 24,000 including contractors, and is one of the country's largest tax payers.
Freeport believed the new mining rules, particularly the export tax, violated its contract. The company refused to pay the tax and invest in a copper smelter unless the government provided assurances it would be allowed to continue operating after its contract expires in 2021.
Freeport wanted certainty to spend more than $15 billion to build what would be the world's biggest underground mine, while the government said it could not renegotiate until 2019, two years before the contract expired.
Freeport Indonesia CEO Rozik Soetjipto said the breakthrough came when the new minister arrived with a business background.