Mayor Eric Adams has tapped attorney and former Giuliani aide Randy Mastro to be the city’s new first deputy mayor.

Mastro is succeeding Maria Torres-Springer, who submitted her resignation alongside three other deputy mayors last month after the Justice Department asked a court to dismiss federal corruption charges against Adams.

“Randy is a storied and impressive New Yorker with a track record of success in the face of some of the city and nation’s most challenging times,” Adams said in a statement Thursday. “I, and the whole team, welcome Randy to our administration and look forward to working side-by-side with him as we continue to lead the city forward and make New York City a safer, more affordable city that is the best place to raise a family.”

The mayor’s announcement came months after he made a failed bid to hire Mastro as the city’s corporation counsel, the top lawyer representing city government.

After Adams nominated Mastro for the role last July, many City Council members pushed back on his pick, citing concerns about his controversial legal work and his time as a top aide to former Mayor Rudy Giuliani.

Mastro ended up withdrawing his name from consideration in September, maintaining his nomination hearing with the City Council had been “anything but fair.”

Responding to news of Mastro’s appointment in a statement, a spokesperson for City Council Speaker Adrienne Adams said the “instability of this mayoral administration has been harmful to New Yorkers and shaken their confidence in City Hall.” 

“The Council remains focused on ensuring city government delivers for the people and will work with any member of the administration committed to that goal,” the spokesperson added.

Mastro, who will report directly to Adams as first deputy mayor, served as Giuliani’s deputy mayor for operations and chief of staff from 1994 to 1998, City Hall said in a news release.

He also served as assistant U.S. attorney and deputy chief of the Civil Division in the U.S. Attorney’s Office for the Southern District of New York from 1985 to 1989, the release said.

In a statement, Mastro said he was “honored to serve the city again and grateful to Mayor Adams for affording me this opportunity.”

“I look forward to continuing to deliver a safe, affordable city and to improving quality of life for all New Yorkers,” he said.  “I believe now, in particular, is a time to heed the call to public service, and I am excited to answer the call.”

Earlier this month, Adams filled four other vacant deputy mayor positions.