U.S. Supreme Court Justice Antonin Scalia on Tuesday criticized this summer's ruling striking down gay marriage bans in all 50 states.

Scalia, the longest-serving member of the Supreme Court, made his remarks at Rhodes College, where he delivered a lecture on Constitution Day.

In his speech, Scalia lashed out at judges who consider the constitution a “living” document.

“They're not adhering to the text, they're operating as policy makers,” Scalia is quoted as saying by the AP. “They're not interpreting the constitution. They're writing one, they're revising one.”

On the high court's landmark ruling, Scalia said it was “the furthest imaginable extension of the Supreme Court doing whatever it wants.”

“Saying that the constitution requires that practice, which is contrary to the religious beliefs of many of our citizens, I don't know how you can get more extreme than that,” Scalia said. “I worry about a court that's headed in that direction.”

Scalia was among the four justices who dissented from the majority in June's ruling.