The U.S. met one of China’s key demands to improve relations with the release of a top Huawei Technologies Co. executive, paving the way for better ties at the cost of appearing to reward Beijing for what critics have called "hostage diplomacy.”

Meng Wanzhou, Huawei’s chief financial officer, flew to China from Vancouver after reaching a deferred prosecution agreement with U.S. authorities to resolve criminal charges connected with American sanctions on Iran. Shortly afterward, China released two Canadian citizens — Michael Kovrig and Michael Spavor — who were detained within days of Meng’s December 2018 arrest.

The deal comes two weeks after U.S. President Joe Biden called Chinese leader Xi Jinping in frustration over Beijing’s move to link progress on climate change with other demands, including Meng’s release as well as lifting sanctions and removing punitive tariffs. China had insisted the U.S. take the first step to improving ties, with Foreign Minister Wang Yi saying earlier this month that America "should meet China halfway.”