le·​gal·​ist
| \ ˈlē-gə-list
\
1
: an advocate or adherent of moral legalism
2
: one that views things from a legal standpoint
especially
: one that places primary emphasis on legal principles or on the formal structure of governmental institutions