legalistic (adj.)

1843, with -ic + legalist "one who advocates strict adherence to the law," especially in theology (1640s); see legal + -ist. Legalism in theology is attested from 1838.