Embattled Manhattan Supreme Court judge Marylin Diamond has made a multimillion-dollar settlement offer to an Israeli research center that claims she and her ex-law partner ripped off millions it stood to inherit, sources close to the deal said.

Diamond made the offer last week even as she and ex-partner Janet Neschis were battling to get the center’s 3-year-old lawsuit tossed out of Manhattan federal court. The center is “going away with quite a bit,” said one source.

The renowned Weizmann Institute of Science claims in court papers that it was due to inherit about $8 million from wealthy art collector Natasha Gelman upon her death in 1998. But the institute claims it lost out after Diamond and Neschis got their hands on the elderly woman’s vast fortune.

Gelman’s film-producer husband, Jacques, amassed millions in the movie business, investments in Mexico, and artworks by modern masters. When he died in 1986, he left his fortune to his wife. It’s unclear what happened to the various Gelman holdings, estimated to have been worth between $450 million and $2 billion when the widow died.

An Alzheimer’s-addled Natasha Gelman rewrote the bylaws of one family foundation in 1992, cutting out Weizmann and others. The new bylaws of the $40 million Anturia Foundation named Diamond a 3 percent beneficiary – worth $1.2 million for the judge.

Institute lawyer Dr. Gad Kober refused to comment about the settlement offer. Calls to Diamond and her lawyer were not returned.