A Connecticut convict with loyalties to a Philadelphia crime family told an undercover FBI agent that he had access to two of the long-sought paintings stolen from Boston's Isabella Stewart Gardner Museum in 1990 and could negotiate a sale of each for $500,000, a prosecutor said Monday.

Robert Gentile, a 78-year-old reputed mobster who was released from prison most recently a year ago, allegedly made the offer within the last several months to an agent posing as a drug dealer looking for help with a large-scale marijuana operation, prosecutor John Durham said.

The discussion Monday of the biggest art heist in U.S. history came at a hearing where the judge ordered Gentile detained following his arrest Friday on allegations that he sold a handgun for $1,000 to a convicted murderer who wanted it to collect a drug debt.

Gentile's attorney, A. Ryan McGuigan, said his client began working with the FBI 3 1/2 years ago to aid in the recovery of the stolen artwork. But because the FBI believes Gentile has not been forthcoming with everything he knows about the heist, McGuigan said, the agency has set up his client for arrests twice in the last three years.

"It's my argument that a crime isn't committed if it's not orchestrated by the FBI," said McGuigan, who said his client is not withholding any information.

Over the last 25 years, the FBI has chased thousands of leads around the world in the investigation into the theft of artwork worth an estimated $500 million, including Rembrandt's "Storm on the Sea of Galilee." Gentile's alleged assertions would suggest significant new evidence, but it's unclear what came of the offer to negotiate the artworks' sale, and the U.S. attorney's office declined to comment on how it was interpreted by investigators.

On March 18, 1990, two men posing as police officers stole 13 pieces of art including paintings by Rembrandt van Rijn, Edouard Manet, Edgar Degas and Johannes Vermeer. The paintings have never been found and nobody has been charged in the robbery.

Two years ago, the FBI in Boston said investigators believed the thieves belonged to a criminal organization based in New England and the mid-Atlantic. They believe the art was taken to Connecticut and Pennsylvania in the years after the theft and offered for sale in Philadelphia. After that, the trail went cold.

The museum is offering a $5 million reward for the return of the artwork, and the government is offering immunity from prosecution.

Durham, who said Gentile has sworn an oath to the Philadelphia mafia, said at the hearing that Gentile was not truthful in his discussions with the FBI about the missing pieces. He said Gentile told the undercover agent that he believed federal law enforcement would come after him even if he gave up information on the art.

McGuigan said if his client had information on the artwork, he would have given it up to be with his ill daughter, who died while he was in jail. In 2012, the FBI fruitlessly searched Gentile's property in Manchester, Connecticut, even using ground-penetrating radar.

As he ordered Gentile to be detained pending trial on the gun charge, Judge Thomas Smith said the Gardner paintings were not a focus of the case before him, but he told the defendant in the wheelchair that he was alarmed by the level of mafia-related criminal activity attributed to him by prosecutors.

"If in fact what Mr. Durham says is true, and you were a member, it's time that you took senior status," he said.