lawman has definitions from the field of law
1
[ noun ] (law) an officer of the law

Used in print

(Joseph Chadwick, No Land Is Free....)

Hogan gripped the lawman 's other arm .

(Gene Caesar, Rifle for Rent....)

But he brought back the sheriff and several deputies , and to the lawmen the entire affair seemed a repetition of the Lewis killing .

*