WASHINGTON (JTA) — Alan Gross, who was imprisoned in Cuba for five years for trying to connect its Jewish community to the internet, said Bernie Sanders praised Havana while visiting him in captivity.

“He said, quote: ‘I don’t know what’s so wrong with this country,’” Gross, 70, told NPR in a story posted Wednesday.

Gross, who like Sanders is Jewish, said the Vermont senator — now a leading Democratic presidential nominee — was otherwise unengaged during Gross’s hourlong meeting in 2014 with three senators. Gross was released later that year.

Get The Times of Israel's Daily Edition by email and never miss our top stories Free Sign Up

The other two were Jon Tester, a Democrat of Montana, and Heidi Heitkamp, a Democrat of North Dakota. Tester and Sanders would not comment to NPR. Someone close to Heitkamp, who is no longer in the Senate, told NPR that Sanders seemed to disregard the meeting and that there was an uncomfortable exchange between Sanders and Gross, although she could not confirm Sanders’ alleged statement.

Sanders has come under fire for his qualified criticism of the Castro regime in a recent CBS “60 Minutes” interview. He called Cuba’s government authoritarian, but also praised its literacy programs and health care for all.

Gross, a strident critic of US President Donald Trump, told NPR that he opposes Sanders’ bid for the presidency.

“I just think, you know, it was a stupid thing for him to do,” Gross, who splits his time between the United States and Israel, told NPR. “First, how could he not have seen the incredible deterioration of what was once the grandeur of the pre-Castro era. And two, how could be so insensitive to make that remark to a political hostage — me!”

Gross was convicted in Cuba of crimes against the state for his work as a subcontractor of the US State Department connecting the Jewish community to the internet.

Sanders was leading the Democratic race for a period but now trails former vice president Joe Biden in the delegate race.