Palm Beach County Fire Rescue Capt. Albert Borroto said the shooting happened in the 2000 block of South Main Street, about a mile away from where the Palm Beach County Sheriff's Office's National Night Out event was being held.

Investigators said the victim was shot in the hip and leg and was flown to Delray Medical Center for treatment.

The victim is expected to survive.

Deputies said three people were taken into custody, and the shooting resulted from an ongoing feud.