who has been on the court the longest