President Biden said on Monday that he expected five Americans detained in Iran to be released as part of a prisoner swap deal between the two countries. The deal, which has been in the works for months, would also involve the release of five Iranians in US custody.

“I am pleased to announce that we are nearing an agreement with Iran to secure the release of all five Americans who have been wrongfully detained,” Biden said in a statement. “We will continue to work with Iran to ensure that all of our citizens are returned home safely.”

The identities of the five Americans who are expected to be released have not been publicly disclosed, but they are believed to include Siamak Namazi, Emad Shargi, and Morad Tahbaz, who have all been imprisoned in Iran for more than five years.

The prisoner swap deal is a significant breakthrough in US-Iran relations, which have been strained for decades. The two countries have been engaged in indirect negotiations over the revival of the 2015 Iran nuclear deal, but those talks have stalled in recent months.

The release of the Americans is expected to pave the way for a resumption of nuclear talks. Biden has said that he is committed to reviving the deal, which he believes is the best way to prevent Iran from developing nuclear weapons.

The prisoner swap deal is also a victory for the families of the detained Americans, who have been campaigning for their release for years. Biden has spoken to some of the families on the phone and has assured them that he is working to bring their loved ones home.