Run Afoul Of

To come into conflict with someone or something, especially authority or the law.

Examples:

  • If you keep parking illegally you'll run afoul of the police.

Origin: Late 1600s

Synonyms: run foul of