Two days before the election, Donald Trump stood before a large crowd in Sioux City, Iowa, and called onstage the longest-serving governor in U.S. history.
"I think there's nobody knows more about trade than him," said Trump of Iowa Gov. Terry Branstad. "Boy, you would be our prime candidate to take care of China."
Branstad's relationship with China goes back to 1985, when he was in his first term as governor and a young agricultural official from Hebei Province named Xi Jinping visited Iowa. The two hit it off. In the ensuing years, Branstad and Xi kept in touch, as the latter slowly ascended to China's top leadership position and Branstad was elected back into the governor's office in 2011, managing billions of dollars worth of the state's pork, soybean and other exports to China.
"I had told Donald Trump on several occasions, 'Don't say anything bad about China when you're in Iowa,'" Branstad says, sitting in his Des Moines office. "We have a great relationship there."
In Muscatine, 150 miles east of the capital, Sarah Lande looks at photos on the wall from Xi Jinping's 1985 visit to her town as she walks through what's now dubbed the Sino-U.S. Friendship House. It's a modest, 1960s brick split-foyer house where the Chinese president stayed, sleeping in the bedroom of a young Star Trek fan.
Two Muscatine residents have purchased the house and hope to make it an attraction for Chinese tourists. It's already open to the public. Lande was part of the group that organized Xi's first trip. She says Xi had read Mark Twain and fell in love with the Mississippi River, which borders Muscatine.
"And we found him jolly," she recalls. "A great smile."
Lande says Xi did not get a royal treatment in Iowa. "One of the reasons we had homestays," she says, was because "everybody was a volunteer. People in the home, the potluck dinner ... I think that really appealed to him."
Since then, Xi and Branstad have visited each other several times. Branstand keeps several tokens of their friendship, including artwork and photos, on display in his office.
Branstad says he knows promoting Iowa to China is a vastly different job than being an ambassador between the two largest economies in the world. He's hopeful he can find areas of cooperation.
"Maybe it can be renegotiated and China could be included," says Branstad. "That's something I think should be looked at. Or the other thing to do would be bilateral agreements, like we've done with South Korea."
Before he tackles that, though, Branstad will need to negotiate what has become a very tense relationship between Washington and Beijing.
The most recent spat began in early December, when Trump took a call from the president of Taiwan, an island with its own government, but which Beijing considers part of China. In response, China lodged a formal protest with the United States.
Five days later, Trump's appointment of Branstad as ambassador prompted the hint of a smile from a Chinese foreign ministry spokesman, who called the Iowa governor "an old friend of China."
"This is a common quote in China, which signifies that this is somebody that China feels that they can trust," says Ken Jarrett, a former U.S. diplomat in China who now heads the American Chamber of Commerce in Shanghai.
Branstad's 30-plus-year relationship with Xi is important, Jarrett says, but as he starts his diplomatic post in Beijing, the more important relationship will be the one Branstad has with his new boss.
The challenge, Jarrett says, will be interpreting Trump to the Chinese.
"Everyone is still in the stage of trying to understand how to interpret [Trump's] tweets. This is not easy for Americans to do and is even more difficult for the Chinese to do," Jarrett says.
Branstad will also have to navigate what has become a complicated "frenemy" relationship between the world's two largest economies.
"He's going to have, of course, major challenges, because the relations between the two countries right now are somewhat tense," says Beijing-based lawyer Lester Ross.
Diplomatic landmines abound: China's encroachment into the South and East China Seas. Cybersecurity. North Korean nukes. And now that China's economy is in trouble, the Communist Party is tightening control over its people, their access to information and exposure to foreign influence.
"China has absorbed and embarked upon a fiercely security-conscious policy mix, under which foreign influence is regarded suspiciously no matter where it emanates from, no matter what its contents are," says Ross.
In short, there may be no more challenging time than now to be U.S. ambassador to China. And, says Peking University professor Zha Daojiong, the role of the U.S. ambassador has never been more confusing to China's leadership.
"What kind of role is he here to play?" asks Zha. "Is he here to represent a voice from the administration? Or is he going to be functioning as a bridge of sorts?"
American ambassadors to China in the 1980s and 1990s were descendants of missionaries in Asia, so-called "old China hands" with the ability to see China through the lens of history, philosophy and civilization. Then, around the turn of the century, a more politically savvy batch of top diplomats arrived with close connections to Washington.
Zha misses the old days. "Time has come for the ambassadorship to function as a bridge between the different voices of both societies," he says.
When asked to pass on advice for Branstad, Ross, a 30-year China veteran, doesn't skip a beat. "Be prepared to work hard. Be prepared to travel the country to make a physical presence across the country and to accommodate and welcome Chinese cultural influence. Try to make a broad, popular impression on the Chinese people."
Copyright 2017 NPR. To see more, visit http://www.npr.org/.