A Canadian citizen arrested in China under frosty relations between the two countries was released and sent back to Canada, media reports said.
Teacher Sarah McIver from Alberta was convicted earlier this month for "illegally working in China."
Global Affairs Canada confirmed that a Canadian citizen had been released but was not named.
Ms. McIver's detention followed that of two other Canadians. They are still being held.
China and Canada both said that the case of Ms. McIver is different from the other two. Former diplomat Michael Kovrig and businessman Michael Spavor are charged with harming national security.
The detention arose between Canada and China after Huawei's Chief Financial Officer Meng Wanzhou was arrested earlier this month. Ms. Meng was arrested at the request of US prosecutors and is being extradited for violating sanctions against Iran. She denies the allegations.
China has denied that the arrest of the two men is tied to the arrest of Ms. Meng, but many analysts believe that this is a petty action.
Ms. McIver had worked on her work visa when she was arrested at a Chinese school.
"Global Affairs confirms that a Canadian citizen detained in China this month has been released and has now returned to Canada," spokesman Richard Walker said.
Under the provisions of the Data Protection Act no further information can be disclosed. "