Washington Post reporter Jason Rezaian, who was once imprisoned for more than a year in Iran, slammed President Trump on Monday after the president demanded more credit for the release of UCLA basketball players detained in China.

Rezaian's tweets came after Trump lashed out at LaVar Ball, the outspoken father of one of the basketball players, on Sunday for not giving him enough credit for their release.

"My dad was dead when the US negotiated my release from prison in #Iran, but if he was alive he’d have been deeply appreciative of all efforts to get me out," Rezaian, an Iranian-American journalist who was held in one of Iran's most notorious prisons, tweeted Monday.

"If for some reason, though, he was less than gracious about it I doubt @BarackObama would have needed to pull one of these."

My dad was dead when the US negotiated my release from prison in #Iran, but if he was alive he’d have been deeply appreciative of all efforts to get me out. If for some reason, though, he was less than gracious about it I doubt @BarackObama would have needed to pull one of these. https://t.co/m1B6h2cBZR — Jason Rezaian (@jrezaian) November 19, 2017

ADVERTISEMENT

Rezaian served as the Tehran bureau chief for the Post and was imprisoned for 544 days starting in 2014 during the Iran nuclear negotiations.

The Iranian government eventually charged Rezaian with espionage. Rezaian later sued the Iranian government for using his captivity as leverage in the nuclear negotiations.

His comments Monday come after Trump blasted Ball.

“Now that the three basketball players are out of China and saved from years in jail, LaVar Ball, the father of LiAngelo, is unaccepting of what I did for his son and that shoplifting is no big deal. I should have left them in jail!” Trump tweeted Sunday.

Trump later doubled down on his criticism, saying he should have waited until his next visit to get Ball's son of out of jail.

"Shoplifting is a very big deal in China, as it should be (5-10 years in jail), but not to father LaVar," Trump tweeted.

"Should have gotten his son out during my next trip to China instead. China told them why they were released. Very ungrateful!"