West Palm Beach police are investigating a fatal shooting in the 500 block of Ontario Place after a ShotSpotter alert shortly after midnight Sunday.

While officers were responding, the adult male victim was taken to a local fire station with a gunshot wound. He was transported to a hospital with life-threatening injuries and later died.

A suspect has been detained. Police said there is no danger to the community.

Palm Beaches Talks