The man, identified as Taqi A., was handed down the sentence by a court in East Azerbaijan Province, the state-run news agency ILNA reported on Saturday.
Taqi was accused of disrupting the peace and his sentence was upheld by an appeals court.
In May, at least 100,000 Azeris rallied in the city of Tabriz against the publication of an insulting cartoon in the official daily Iran.
Subsequently, thousands took part in often violent anti-government demonstrations in the towns of Orumieh, Zanjan, Marand, Naqadeh and Ardebil.
At least nine people were killed by government forces in the course of clashes with the protestors.