A federal judge in Alexandria sentenced two men to prison yesterday for their part in a ring that attempted to smuggle nearly seven pounds of high-grade heroin worth $32 million into the Washington area from Iran.

Shahrokh Baktiar, 37, of 2001 Somerset St., Hyattsville, was sentenced to 15 years for his conviction April 3 on 14 counts of conspiracy and distribution of heroin.

Mohammed Roshan, 34, owner of the West End Restaurant in the District of Columbia, was sentenced to two years in prison for his conviction on distribution of one-half pound of heroin.

Judge Albert V. Bryan Jr. also imposed a special five-year parole term on each man, which will apply regardless of when each is released from prison.

Bryan sentenced Baktiar to 15 years in prison on each of two conspiracy counts, with lesser terms for convictions on heroin distribution and related charges. The judge ordered all sentences to run at the same time.

Charles Work, attorney for Roshan, said he would appeal the conviction. Bryan permitted Roshan to remain free under $200,000 bond. Baktiar has been imprisoned since his arrest Fe. 6. His attorney, Louis P. Koutoulakos, said he was not sure if he would appeal the conviction.