run afoul Meaning, Definition & Usage

  1. verb go against, as of rules and laws
    infringe; conflict; contravene.
    • He ran afoul of the law
    • This behavior conflicts with our rules

WordNet