Updated

A lawyer says an ailing dissident, once Iran's foreign minister, has been sentenced to eight years in prison and deprived of civil rights for five years.

Ebrahim Yazdi was convicted of acting against national security by Iran's hard-line Revolutionary Court, which deals with security and political crimes.

Yazdi is 80 and suffers from cancer and a heart ailment.

Mohammad Ali Dadkhah, Yazdi's lawyer, told The Associated Press Wednesday that he has appealed the sentence. Yazdi is free for the meantime.

Yazdi's Freedom Movement of Iran opposes Iran's clerical rule. The party played a key role in the 1979 Islamic revolution but turned against the clerics as they consolidated power and crushed dissent. It rejects violence and advocates democratic reform.