Hurwitz, who previously served as the vice chief justice on the Arizona Supreme Court, was confirmed by voice vote early Tuesday afternoon. The confirmation came less than 24 hours after the Senate narrowly approved a cloture motion on Hurwitz's nomination, in a vote of 60-31. Sixty votes were needed to end debate. 

"I am pleased that Andrew Hurwitz has been confirmed by the Senate. As a member of the Arizona Supreme Court for nearly a decade, Justice Hurwitz has proved an able jurist," Sen. Jon Kyl (R-Ariz.) said in a statement.

Sen. Chuck GrassleyChuck GrassleyComey to testify before Senate Judiciary Committee GOP to kill language exempting staff from new ObamaCare repeal bill House cyber chairman wants to bolster workforce MORE (R-Iowa.) objected to Hurwitz's nomination on Monday arguing that the vice chief justice was unable to separate his personal political beliefs from his obligations as a lawyer and judge.

"We do not need to add another pro-defendant activist judge to the 9th Circuit or to any other court," Grassley said Monday.

But other senators voiced strong support for Hurwitz's nomination.

"This is a nominee that I not only gladly vote yes on but I frankly ask my colleagues to vote yes because I absolutely, totally believe that he will decide cases based on the merits of the case, the facts of the law, not on the politics," Kyl said Monday.

Other senators grumbled that Hurwitz's qualifications were so good that his confirmation should have happened without any delay.

"Candidly, I'm surprised that a cloture vote is necessary today," Sen. Dianne FeinsteinDianne FeinsteinDemocrats exploring lawsuit against Trump Overnight Finance: Dems explore lawsuit against Trump | Full-court press for Trump tax plan | Clock ticks down to spending deadline Comey to testify before Senate Judiciary Committee MORE (D-Calif.) also said Monday.

—This story was updated at 3:14 p.m.