associate justice of the supreme court for 24 years