in 1801 he studied law with thomas w. thompson, afterwards united states senator. he read then for the first time that "law is a rule of action prescribing what is right and prohibiting what is wrong."