The U.S. State Department said on Thursday it released $400 million in cash to Iran under a tribunal settlement only once it was assured that American prisoners had been freed and had boarded a plane.

"The payment of the $400 million was not done until after the prisoners were released," State Department spokesman John Kirby told reporters.

"We took advantage of that to make sure we had the maximum leverage possible to get our people out and get them out safely," Kirby added.

It was the first time the administration has said publicly that it used the payment as leverage to ensure all of the five prisoners were freed.

Both U.S. President Barack Obama and Secretary of State John Kerry have denied that the payment was ransom for the release of the prisoners or tied to the Iran nuclear deal.

The White House announced on Jan. 17, a day after the prisoner exchange, that it was releasing $400 million in funds frozen since 1981, plus $1.3 billion in interest owed to Iran.

The funds were part of a trust fund Iran used before its 1979 Islamic Revolution to buy U.S. military equipment that was tied up for decades in litigation at the tribunal.

The administration has maintained that negotiations over the funds and the prisoners were conducted on separate tracks and were in no way linked.

Rep. Jason Chaffetz, chairman of the House of Representatives Committee on Oversight and Government Reform, has asked Kerry to appear at a future committee hearing to discuss the payment.