The Senate confirmed Rod J. Rosenstein Tuesday evening to be the second-highest official at the Justice Department, giving Attorney General Jeff Sessions his first high-level counterpart since he was sworn in early February.

Rosenstein was confirmed 94-6. He becomes one of just two Trump nominees to the Justice Department yet confirmed by the Senate.

Sen.s Richard Blumenthal, D-Conn., Cory Booker, D-NJ, Cortez Masto, D-NV, Kristen Gillibrand, D-NY, Kamala Harris, D-Calif., and Elizabeth Warren, D-MA, voted against Rosenstein.

The Senate confirmed him just a day after voting 92-6 on Monday to end debate on the nominee, who served as Maryland's U.S. attorney.

Rosenstein's nomination to be deputy attorney general has been mostly uncontroversial. However, it became more important after Sessions said he would recuse himself from investigations into the Trump campaign's alleged communications with Russia in 2016.

Once he takes office, Rosenstein can either oversee any forthcoming investigations related to Russia, or appoint a special prosecutor. During his confirmation hearing in March, Rosenstein said he would wait to make a decision about appointing a special prosecutor until after he's confirmed and is fully briefed on the investigation.

He will also help the department fill the voids left in U.S. attorneys offices nationwide after Sessions asked for their resignations in March.

Rosenstein, 52, is the nation's longest serving U.S. attorney — a holdover from the George W. Bush administration.