To run afoul of Meaning, Definition & Usage

Definitions
  1. to run against or come into collision with, especially so as to become entangled or to cause injury.

Webster 1913