New York Republican Chairman Ed Cox on Wednesday in a radio interview criticized U.S. Attorney Preet Bharara’s office for leaking the details of an investigation of the state’s highest-ranking GOP elected official.

Senate Majority Leader Dean Skelos is under investigation by Bharara’s office, reportedly over his son’s employment at an Arizona-based firm that received a contract for a sewer project in Nassau County.

There’s no indication that Bharara’s office released the details of the probe to The New York Times, which first reported the news of the inquiry.

Skelos has subsequently confirmed he’s cooperating with Bharara’s office and at least three Senate Republicans have confirmed they’ve received subpoenas in the case.

Cox, who in the past has spoken approvingly of Bharara’s investigations of Democratic officials like Gov. Andrew Cuomo and Assembly Speaker Sheldon Silver, knocked what he said were leaks.

“It looks like it’s be tried in the press by leaks from Preet Bharara,” Cox said in a radio interview with Fred Dicker on Talk-1300. “Look, Bharara has been criticized and I’ve heard it privately from district court judges, by the way he tries cases in the press.”

Bharara most recently was criticized by a federal judge in the case he’s trying against former Assembly Speaker Sheldon Silver, a Democrat.

The judge in a ruling dismissing Silver’s effort to have the case tossed was critical of Bharara’s public statements following Silver’s arrest as well as his comments knocking state government’s operations.

It’s unclear what impact the Skelos investigation will have on the chamber and for now his colleagues remain supportive of his staying in the leadership post.

“Whether there will be an indictment or not I don’t know,” Cox said. “But I don’t think it should be tried by leaks by the U.S. attorney.”