Etymology
Today it means: An agent of municipal law enforcement responsible for ensuring obedience to the bylaws. Full definition →
From bylaw + officer.
Etymology from Wiktionary, CC BY-SA 4.0.