WASHINGTON – President Obama lost his first vote on a judicial nominee Thursday, as Senate Republicans derailed the nomination of a liberal law professor who leveled acerbic attacks against two conservative nominees to the Supreme Court.

Democrats fell short of the 60 votes they need to end a filibuster and give Goodwin Liu an up-or-down vote on his nomination to the San Francisco-based 9th U.S. Circuit Court of Appeals. Liu, a legal scholar at the University of California’s Berkeley law school, could someday be a dream Supreme Court nominee for liberals.

The vote was 52-43 to end debate, leaving Democrats eight votes short.

The chairman of the Senate Judiciary Committee, Sen. Patrick Leahy, D-Vt., had been pushing for a vote on Liu, who had been nominated three times for the appellate post.

Republicans have made Liu their prime example of a judicial nominee who, in their view, has been so unabashedly liberal in his writings and statements that he does not deserve an up-or-down vote.

The politics were reversed in 1987, when Democrats defeated Republican Supreme Court nominee Robert Bork by citing his conservative writings. Liberals said Bork was a conservative extremist, just as conservatives now say Liu is a liberal extremist. Bork’s nomination was defeated in an up-or-down vote 58-42.

In both cases, opponents argued the nominees would take their views with them to the bench, allowing those views to trump the Constitution.

To most Democrats and liberal backers, Liu is the type of nominee they want for a lifetime appointment on the federal bench. He supports liberal social issues such as gay marriage and affirmative action.

To most Republicans and conservative allies, he’s a judicial activist who made insulting remarks about the Supreme Court nominations of John Roberts, now the chief justice, and Samuel Alito.

Two senators favoring a continued filibuster were Sens. John McCain, R-Ariz., and Lindsey Graham, R-S.C. Both were part of a group of 14 senators who previously pledged not to filibuster judicial nominees except under extraordinary circumstances.

“The nomination of Mr. Goodwin Liu does rise to a level of extraordinary circumstances and therefore McCain will seek to filibuster the nomination,” McCain’s office said in a statement Wednesday.

Graham said: “His outrageous attack on Judge Alito convinced me that Goodwin Liu is an ideologue.”

Leahy told the Senate that the senators from the group of 14 are failing to uphold their own principles of filibustering only in extraordinary circumstances.

“None of them said there are extraordinary circumstances here,” Leahy said. “Well, let’s be responsible. Let’s bring it to a vote.”

Republicans and conservatives believe Liu expressed his true judicial philosophy in a radio interview after Obama’s election. He said then that liberals “have the opportunity to actually get our ideas and the progressive vision of the Constitution and of law and policy into practice.”

Liu also had said Alito’s vision was an America “where police may shoot and kill an unarmed boy … where federal agents may point guns at ordinary citizens during a raid, even after no sign of resistance … where the FBI may install a camera where you sleep … where a black man may be sentenced to death by an all-white jury for killing a white man, absent … analysis showing discrimination.”

Liu told his confirmation hearing before the Senate Judiciary Committee that this “was not an appropriate way to describe Justice Alito.” He described his own language as “unduly harsh,” and added, “If I had it to do over again, I would have deleted it.”