Iran plans to release four Americans as part of a prisoner exchange deal that includes Washington Post reporter Jason Rezaian.

The exchange coincides with the implementation of a landmark nuclear deal between Tehran and six world powers, including the United States, the conditions of which include Iran stopping most of its uranium-enrichment centrifuges, shipping enriched-uranium stockpiles out of the country and disabling its Arak nuclear reactor.

Along with Rezaian, the three other released Americans — all of them dual-citizens — were:

1. Amir Hekmati, from Flint, Mich.

Hekmati, a former Marine, was arrested on spying charges on Aug. 29, 2011, while on a visit to see his grandmother. In January 2012, Iran sentenced him to death for a list of crimes including alleged spying for the CIA. U.S. officials at the time denied the charges, calling them politically motivated. That sentence was later overturned.

Hekmati, who served as an infantryman from 2001 to 2005, went on a hunger strike in late 2014 to protest his captivity. Hekmati was born in Arizona and holds dual U.S.-Iranian citizenship.

2. Saeed Abedini, 35, from Boise, Idaho

Abedini, an Iranian-born pastor, was arrested in September 2012 on charges related to his faith. He was found guilty of endangering national security by holding private religious services in home churches. As The Post's Sarah Pulliam Bailey reports, Abedini's case gained the attention of fellow Christians around the world, with evangelical activists urging President Obama to push for his release.

His wife and two children live in Boise, Idaho.

3. Nosratollah Khosravi-Roodsari

Little information was immediately available about Nosratollah Khosravi-Roodsari.

Freed, but not part of the deal: Matthew Trevithick

A fifth American, Matthew Trevithick, was also freed, though his liberty was not tied to the prisoner exchange.

“Matthew was a young man studying in Iran” and was “detained in recent months,” a senior administration official told The Post. “We wanted him obviously to be a direct part of this, and made clear to Iranians that [his release] would be an appropriate humanitarian gesture.”

Trevithick went to Iran in September for a four-month language program only to be arrested, his family said in a statement. Trevithick previously worked at the American University of Afghanistan and the American University of Iraq.

Not included in the deal: Robert Levinson

Levinson, a retired FBI agent, was last seen on Iran’s Kish island in March 2007. He was in Iran to investigate corruption, while also discussing the renewal of a CIA contract he held for several years. Photos of Levinson in an orange prison jumpsuit surfaced in 2011, but Iranian officials have repeatedly denied any knowledge of his whereabouts.

Not included in the deal: Siamak Namazi

The Dubai-based oil company executive, who is in his early 40s, was arrested in October while visiting a friend in Tehran.

Namazi, the son of a former governor in the oil-rich Iranian province of Khuzestan, moved to the United States as a boy in 1983, later returning to Iran to serve in the military there.

CORRECTION: An earlier version of this story incorrectly described a requirement of the deal. Under the agreement, Iran must ship enriched-uranium stockpiles out of the country.

Related stories: