The City Council on Tuesday confirmed Mayor Bill de Blasio's appointment of attorney Mark Peters as commissioner of the Department of Investigation, a post that comes with the high-profile responsibility of naming an inspector general of the NYPD.

Peters is a close friend of the mayor, who worked as his campaign treasurer and also served alongside him on a Brooklyn school board.

advertisement | advertise on newsday

The council voted 48-2 to approve his nomination, with Annabel Palma (D-Soundview) and Rory Lancman (D-Hillcrest) dissenting, and Jumaane Williams (D-Flatbush) abstaining. Several council members, including those who ultimately voted in favor of Peters, 48, of Brooklyn, expressed concerns about his personal relationship with de Blasio and his ability to stay independent of the mayor's office and investigate it, if the need arises.

Peters, in testimony to the council's Rules Committee, had maintained he can remain impartial, just as he did when he fined former Gov. David Paterson during Peters' time on the state Public Integrity Commission for improperly accepting World Series tickets, despite their two-decade friendship.

Williams advised that Peters not take the mayor's direction in choosing an NYPD inspector general.