Wilson served on the United States Supreme Court from 1789 to 1798 .
Only nine cases were heard by the court from his appointment in 1789 until his death in 1798 .