What is the meaning of Run_afoul_of?

To become entangled in; to run aground on.

To contravene.

Source: wiktionary.org