U.S. Supreme Court Justice Sonia Sotomayor voiced concern Thursday night about widespread income inequality in America, which she said could trigger “the unrest other countries have.”

Sotomayor made the comment in a spirited on-stage conversation with civil rights leader Theodore Shaw—a high school classmate of hers—at the annual convention of the American Constitution Society in Washington.