1809, originally nautical, "in a state of collision or entanglement," from a- (1) + foul (adj.). From 1833 in general sense of "in violent or hostile conflict," mainly in phrases such as run afoul of.
with its sails afoul
afore
aforementioned
aforesaid
aforethought
aforetime
afoul
afraid
A-frame
afresh
Afric
Africa