From 1984 until 1987, he was a military attaché in Pakistan. In 1987, the Iranian government ordered him back to Iran and accused him of the espionage for the United States. He spent one year in prison. He was set free after one year and fled to Canada.