In 1981 he was sentenced to life imprisonment on charges of spying for the United States. He was "the longest-held political prisoner in the Islamic Republic of Iran". According to Fariba Amini, as of 2006 he had "been in jail for 17 years and in and out of jail for the last ten years, altogether for 27 years."