BOISE, Idaho (AP) — An Idaho pastor who was imprisoned for nearly four years in Iran will have to serve community service for violating a restraining order.

The Idaho Statesman reports that Saeed Abedini on Monday pleaded guilty to violation of a restraining order taken out by his estranged wife, Naghmeh. An Ada County Magistrate judge sentenced Abedini to 180 days in jail, but suspended all but five days. He will have to work off those days through community service.

On Tuesday, Abedini declined to comment on the matter.

No details if what happened in the May 26 incident when he violated the order were provided in court documents.

Abedini was one of four Americans released in Iran under a negotiated prisoner exchange on Jan. 16, 2016. The U.S. agreed to free seven Iranians as part of the exchange.

More From News Radio 1310 KLIX