Three women and a man were arrested early Sunday morning after an alleged home invasion that left the male assailant with a bullet wound to his foot.

By the time the dust had settled at 93 Williams St., nearly 20 law enforcement personnel — among them police from Taunton and Raynham and State Police, including a K-9 unit — had descended upon the single-family home to sort out the confusion.

Police said that after a man residing at the home dialed 911 at 1:45 a.m., he could be heard frantically yelling that intruders had gotten in and were attacking him.

When officers arrived at the “very chaotic scene” a man and three women, later identified as the alleged assailants, were outside.