U.S. Reaches Deal With Iran to Free Americans for Jailed Iranians and Funds. Five American detainees will eventually be allowed to leave Iran in exchange for Tehran gaining access to $6 billion for humanitarian purposes and the United States freeing several jailed Iranians.