Manhattan District Attorney Cy Vance has clashed with Gov. Andrew Cuomo over his decision to appoint a special prosecutor over him to investigate former New York State Attorney General Eric Schneiderman.

The governor announced Tuesday night Nassau County District Attorney Madeline Singas will oversee the investigation ointo allegations that Schneiderman physically assaulted four women. As the special prosecutor, she will outweigh Vance's possible role in the case.

Late Monday evening, Vance's office said it had opened an investigation into the allegations against Schneiderman. But Schneiderman had been tasked with investigating Vance over his handling of a 2015 sexual abuse allegation against movie mogul Harvey Weinstein.

Cuomo said he didn't want an appearance of a conflict of interest in the Schneiderman investigation.

In a letter to Cuomo on Wednesday morning, Vance said he has confidence in Singas but objected to the move for a "number of reasons."

One of which Vance cited was the governor's concerns early Tuesday that some DAs would have a conflict of interest.

Vance reiterated his belief that those issues will never compromise his office's commitment for justice.

Cuomo also responded to Vance with a sharply worded letter, saying, "We put in place an elected official and independent prosecutor who could preside over the investigation without the specter of conflict or compromise. I view the District Attorney's editorial commentary as both inappropriate and misguided given the ongoing investigations."

Schneiderman officially resigned Tuesday afternoon after the assault allegations were published Monday night in an article by The New Yorker.

Schneiderman denied abusing anyone but said he had engaged in consensual "role playing." He hasn't elaborated.

Meanwhile, the former attorney general was seen emerging from his apartment building Wednesday afternoon for the first time since his resignation.

News photographers and video journalists crowded around Schneiderman as he left his Manhattan apartment building and got into a waiting SUV.

He ignored questions, said, "Have a nice day," and was driven away.