The Chinese government has released and immediately deported a Swedish man it accused of training and funding unlicensed lawyers in the country.

Swedish embassy spokesman Sebastian Magnusson confirmed Tuesday that Peter Dahlin had left China but was unable to provide further details.

Dahlin was featured in a 10-minute segment on state broadcaster CCTV last week in which he gave what was described as a confession for breaking Chinese law.

He was arrested Jan. 3 on his way to Beijing's international airport, becoming the first foreigner to become entangled in a wide-ranging crackdown on the country's increasingly assertive legal rights groups.

The Swedish embassy issued a statement Friday in which it said it was seeking clarification of the charges against Dahlin and another detained Swedish national, Gui Minhai.