SANTIAGO (AFP) - A Pakistani man has been freed from detention in Chile pending an investigation into how and why traces of explosive were found on him when he visited the US embassy in Santiago, officials said Tuesday. Mahuhannas Saif ur Rehnab Khan, 28, was released from a 120-day detention period in a high-security prison imposed on him two weeks ago when his probation was revoked on appeal. He will be required to remain in Santiago and confirm his presence every two weeks under the terms of his release, court officials told AFP. Khan is being investigated on charges of illegally possessing explosives, but not the more serious accusation of violating an anti-terror law originally sought by Chilean authorities. A tourism student who arrived in Chile three months ago, Khan went to the US embassy on May 10 after being called in for a discussion about his US visa, which had been revoked. He was arrested after going through a security check, where embassy officials discovered traces of a TNT explosive on his hands, cell phone, bag and documents. The Pakistani national has denied the illegal explosives charge, saying he harbours no malice towards the US, where he has relatives.