The Palm Beach County Sheriff's Office identified the man who took his own life after shooting at deputies.
The shooting happened Friday afternoon in Lake Park.
The sheriff's office said it had 23-year-old Marcus Pettis under surveillance in connection to a murder investigation. Deputies tracked him as he took an Uber to Lake Park. As they moved in to pull over the Uber near Evergreen Drive and 9th Street, Pettis jumped out and opened fire on deputies.
The sheriff's office said deputies returned fire but missed. Deputies found Pettis one block away, dead from what appeared to be a self-inflicted gunshot.
The two deputies who fired at Pettis are on paid administrative leave, which is standard procedure. The shooting is under investigation by the Florida Department of Law Enforcement and the State Attorney's Office.