In or into collision, entanglement, or conflict with.
Up against; in trouble with: ran afoul of the law.
afoul of
see run afoul of.