Canadian teacher Sarah McIver who was detained in China has been released

Sarah McIver, who was detained in China this month, has returned to Canada, Global Affairs confirmed to Global News on Friday.

“Global Affairs can confirm that a Canadian citizen, who was detained in China this month, has been released and has now returned to Canada. Due to the provisions under the Privacy Act, no further information can be disclosed.”

READ MORE: Alberta teacher Sarah McIver detained in China because she was working illegally, spokeswoman says

Global Affairs also confirmed McIver was detained due to a work permit issue.

According to previous reporting from Global News, McIver received an administrative penalty for illegal employment, Foreign Ministry spokeswoman Hua Chunying said at a daily news briefing.

WATCH: Ottawa demands China release two detained Canadian men

McIver’s detention followed the detention of two Canadian men in China two weeks ago, which appeared to be in retaliation to Canada’s arrest of the chief financial officer of the Chinese telecommunications Giant, Huawei.

Prime Minister Justin Trudeau has confirmed that McIver’s case does not appear to be linked to that of the other two detainees.

This is a developing story and we will update as more information becomes available.