WASHINGTON — The Obama administration said Thursday that a $400 million cash payment to Iran seven months ago was contingent on the release of a group of American prisoners.

It is the first time that the U.S. has so clearly linked the two events, which critics have painted as a hostage-ransom arrangement.

State Department spokesman John Kirby repeated the administration's line that the negotiations to return the Iranian money — from a decades-old military-equipment deal with the U.S.-backed shah in the 1970s — were conducted separately from the talks to free four U.S. citizens in Iran.

But he said that the U.S. withheld the delivery of the cash as leverage until Iran permitted the Americans to leave the country.

Both events occurred Jan. 17, fueling suspicions from Republican lawmakers and accusations from GOP presidential nominee Donald Trump of a quid pro quo that undermined America's long-standing opposition to ransom payments.

Kirby spoke a day after The Wall Street Journal reported new details of the crisscrossing planes on that day.

U.S. authorities wouldn't let Iran bring the money home from an airport in Geneva until a Swiss air force plane carrying three of the freed Americans departed from Tehran, the paper reported.

The fourth American left on a commercial flight.

Earlier this month, after the revelation that the U.S. delivered the money in pallets of cash, the administration flatly denied any connection between the payment and the prisoners.

“Reports of link between prisoner release & payment to Iran are completely false,” Kirby tweeted at the time.

The money comes from an account used by the Iranian government to buy American military equipment in the days of the shah.

The equipment was never delivered after the shah's government was overthrown in 1979 and revolutionaries took American hostages at the U.S. Embassy in Tehran.

The two sides have wrangled over that account and numerous other financial claims ever since.

President Barack Obama has said his negotiators secured the U.S. a good deal on a busy diplomatic weekend that also included finalizing the seven-nation nuclear accord. But he and other officials have consistently denied any linkage.

“We actually had diplomatic negotiations and conversations with Iran for the first time in several decades,” Obama said Aug. 5, meaning “our ability to clear accounts on a number of different issues at the same time converged.”

“This wasn't some nefarious deal,” he said.

The agreement was the return of the $400 million, plus an additional $1.3 billion in interest, terms that Obama described as favorable compared to what might have been expected from a tribunal set up in The Hague to rule on pending deals between the two countries.

U.S. officials have said that they expected an imminent ruling on the claim and settled with Tehran instead.

Some Iranian officials immediately linked the payment to the release of the four Americans, who had been held in Iranian prisons.

One of the prisoners, Saeed Abedini, also had linked the two events.

He said that as the prisoners waited for hours at an airport to leave Iran a senior Iranian intelligence official informed them their departure depended on the plane with the cash. House and Senate Republicans have peppered the Obama administration for more details about the transaction.

Sen. Mark Kirk, R-Ill., said Thursday he sees congressional hearings “as the only way for the American people to fully know whether their tax dollars went directly to Iran's terrorist Islamic Revolutionary Guard Corps.”

Kirk is chairman of the Senate Banking national security subcommittee. No hearing dates have been set. Congress returns from a lengthy recess after Labor Day.

The House Financial Services Committee hasn't yet decided whether to hold hearings.

Rep. Sean Duffy, R-Wis., who chairs the Financial Services oversight and investigations subcommittee, asked the Treasury and Justice departments and the Federal Reserve last week to provide all records related to the $400 million payment as well as the names of the government officials who authorized the payment and those who objected to the transfer of the cash.

Duffy wants responses by Aug. 24.