Chinese President Xi Jinping had successfully spent the last three years channelling the Trump Administration's belligerence towards Beijing into more support for himself at home, and more sympathy for China abroad.
Then came the pandemic.
China's ham-fisted pandemic diplomacy will be regarded as a turning point in its relationship with the West.
First, China covered up the pandemic during its early stages.
Then Beijing embarked on an overbearing campaign of medical diplomacy that trumpeted its successful containment as proof of the superiority of China's government model… a narrative undercut when some of the delivered aid proved ineffective. This was a disastrous combination for China's image.
But while the pandemic has changed the relationship between China and a spate of countries for the worse — the UK, Australia, much of Europe, and India, among others — it has simply served to intensify the deterioration in United States-China relations already under way.
Today, one of the few things Democrats and Republicans agree on is the need for the US to take a harder line with China.
That means that any hope of fixing US-China relations is now on Beijing, not Washington.
This northern summer's developments have not been encouraging on that front.
While Trump has long been focused on US-China trade, technology is taking centre stage of that trade fight.
In recent weeks we've seen countries like the UK bar Chinese state-champion Huawei from their future 5G telecoms infrastructure, at least in part to appease US demands.
Beijing has vowed retaliation to the move.
Washington forcing the sale of TikTok's US-arm to a new buyer has further intensified the tech battle, and will likely lead to further tightening of the environment for US tech firms operating in China.
Even China's fight with India following a Himalayan clash between their two armies resulted in a win for the US, as US firms have begun to push deeper into the Indian market following New Delhi's retaliatory ban on Chinese apps.
As the tech fight between the US and China continues to evolve, China has shown little sign of backing down.
A bruising US-China tech fight would be bad enough for our pandemic-hit times; it's exacerbated by China's decision to take more aggressive postures on issues like Hong Kong, Taiwan and the South China Sea.
Xi's implicit contract with the political elite in China is that as he gains more power, he will be better equipped to oversee China's rise as a global power and hegemony in Asia.
To uphold that bargain, Xi must drive a hard line on issues core to China's sense of sovereignty.
Hence the recent crackdown of pro-democracy activists in Hong Kong and the passage of a new security law, and more assertive behaviour in the contested South China Sea.
These are moves not only aimed at China's neighbours, but the US as well. The US has responded in kind, most recently announcing the visit of US Health and Human Services Secretary Alex Azar to Taiwan, the highest-ranking official in years to visit the territory, and a clear signal to Beijing.
This move from the US isn't surprising—the US political class has spent years evolving into this anti-China position, and it cannot change course easily.
Even if Joe Biden wins the election in November, we are likely to see a similar anti-China bent in US foreign policymaking, even if the accompanying rhetoric is more subdued.
Which means that if anyone can alter the course of US-China relations at present, it is Xi Jinping, a transformational political figure with a proven track record of changing the party's relationship with the economy, society, and international community.
If there is a short-term off-ramp for US-China relations, Xi will have to be the one who takes it.
Xi has spent the past three years trying to respond to US provocations with measured and proportional responses in hopes of projecting maturity, while also dissuading future action that could hurt China's economy.
This was always a difficult tightrope walk for China's leadership given the consensus views of China in Washington these days.
Three years into the Trump Administration, that balancing act has begun to wobble.
The good news for China? The future state of US-China relations is largely in Beijing's hands.
That's also the bad news.
- Ian Bremmer is the president of Eurasia Group and GZERO Media and author of Us vs. Them: The Failure of Globalism. His Twitter handle is @ianbremmer and he is on Facebook as Ian Bremmer.