TEL AVIV – Former Israeli prime minister Ehud Barak has acknowledged that he visited disgraced financier Jeffrey Epstein’s Manhattan residences and private Caribbean island but insisted that he never attended sex parties and was never with Epstein in the presence of women or young girls.

Barak, whose newly formed Israel Democratic Party is entering the political fray for the upcoming election, has come under fire for his ties to Epstein.

Epstein has been indicted for creating what prosecutors described as a network of underage girls whom he molested and exploited in the early 2000s.

Barak told The Daily Beast that he met with Epstein “more than 10 times and much less than a hundred times, but I can’t tell you exactly how many. I don’t keep count. Over the years, I’ve seen him on occasion.”

“I never attended a party with him,” Barak said. “I never met Epstein in the company of women or young girls.”

The Daily Mail in 2016 published a photo of Barak wearing a large hat while entering Epstein’s apartment in Manhattan.

“It is me in the picture,” he told the Daily Beast. “It was so cold the Middle Easterner had to put on a hat. I was there for lunch or chat, nothing else. So what?”

He said he had visited Epstein at two of his Manhattan residences as well as Epstein’s private Caribbean island, which some called “Pedophile Island,” once, “for several hours — and years after the publications about sex parties or orgies there.”

But, Barak added, “I’ve never been there at a party.”

“To the contrary,” Barak said, “at his home, I met many very respected people, scientists, Nobel Prize winners, and I met him also in Boston, at MIT or the Harvard labs he supports.”

“The man who introduced me to Epstein about 17 years ago was Shimon Peres,” Barak said, adding that he had met Epstein at an event where “there were many famous and important people, including, if I recall, both Clintons and hundreds of others.”

Barak also told the paper that he “unequivocally” had never met any women or girls and “there is no chance whatsoever” that any compromising pictures of him could surface.

Prime Minister Benjamin Netanyahu last week charged Barak, who served as prime minister, with having ties to Epstein a day after the billionaire was arrested in New York on allegations of child sex trafficking.

Barak in 2015 formed a limited partnership company in Israel called Sum (E.B.) 2015 in which he was majority shareholder. The aim was to invest in a startup called Reporty which last year changed its name to Carbyne. The company offers live audio, video and geolocation transmission for emergency services.

Barak, who serves as a director in the company, invested millions of shekels in it. A large part of the funds to buy Reporty stock was provided by Epstein, according to Haaretz.

Barak said on Saturday that he is looking at dissolving the limited partnership with Epstein.

Last week, Netanyahu tweeted a screenshot of a Hebrew-language report about Epstein’s arrest and his connection to Barak, calling for the former prime minister to be “investigated immediately.”

“And the media is silent,” Netanyahu wrote.

The report claimed that one of Epstein’s top clients is the founder of the Wexner Foundation, which gave Barak $2.3 million between 2004-2006. According to the report, it was the largest grant awarded by the foundation during those years, comprising half of its total expenditure in Israel. Barak made the claim that he was awarded the grant for his research, the report said. However, to date no such research has come to light and both Barak and the foundation have refused to give details.

It added that Epstein had been a trustee of the foundation when it again awarded Barak $1 million in 2004.

Two days later, Netanyahu tweeted a video with the Daily Mail photo, and captioned it, “What else did the sex offender give Ehud Barak?”

For his part, Barak sarcastically tweeted , “It pains me to hear that people I know are in trouble with the law. First Netanyahu, now Epstein. My wish for them both is that the truth will come out. Period.”

And in a later tweet, he said, “I gave a second chance, both to Jeffrey and to Bibi [a nickname for Netanyahu]. They are now both drowning in criminality.”