The Senate Judiciary Committee on Wednesday voted 11 to 9 to advance the nomination of Sen. Jeff Sessions (R-Ala.) as attorney general. He is expected to be confirmed by the full Senate by the end of the week.

Republicans, who need only a majority vote to approve him, control 52 of the Senate’s 100 seats, and Democrats have thus far failed to persuade anyone on the other side of the aisle to oppose Sessions.

The committee vote, which passed along party lines, comes at a tumultuous time for the Department of Justice. On Monday, President Trump fired acting attorney general Sally Yates, an Obama administration holdover, after she refused to defend his controversial immigration order.

[Senators debate Sessions amid storm over firing of acting attorney general]

Senate Democrats lambasted the move as improper and said it called into question whether Sessions would enforce laws with which the president took issue. Republicans, meanwhile, asserted that Yates was the one to have acted wrongly in refusing to defend an order that the Justice Department’s own Office of Legal Counsel had deemed lawful.

Sen. Jeff Sessions (R-Ala.) could be confirmed as the next U.S. attorney general by the end of the week. (Matt McClain/The Washington Post)

The dispute led to a bitter Senate Judiciary Committee hearing Tuesday, and the panel ultimately decided it would wait a day to vote on Sessions’s nomination. On Wednesday, Democrats again launched bitter attacks against Sessions before the vote.

The process, along with fights over other Cabinet nominees, has frustrated Trump, who took to Twitter on Tuesday to decry Democrats.

“When will the Democrats give us our Attorney General and rest of Cabinet!” he wrote. “They should be ashamed of themselves! No wonder D.C. doesn’t work!”

Until Sessions can be confirmed, the Justice Department is being led by Dana Boente, the U.S. attorney in the Eastern District of Virginia who was chosen to replace Yates. Boente, a longtime Justice Department lawyer nominated by President Barack Obama for his U.S. attorney’s job, rescinded Yates’s directive not to defend Trump’s immigration order.

Trump on Tuesday also announced three other picks for Justice Department leadership. Provided they are confirmed, Rod Rosenstein, the U.S. attorney from Maryland, will serve as the deputy attorney general, the No. 2 post in the department, and Rachel Brand, a member of the Privacy and Civil Liberties Oversight Board, will serve as the associate attorney general, the No. 3 post. The White House said Trump intends to nominate Steven Engel, a lawyer at the Dechert firm, as an assistant attorney general, with reports suggesting he will run the Office of Legal Counsel.