CORAL SPRINGS, Fla. -

A man who wanted to buy a cellphone that was advertised on Craigslist shot and killed one of two men who tried to rob him Tuesday night, police said.

Coral Springs police said the man who planned to purchase the phone met the pair in the 2900 block of Riverside Drive.

Police said two men tried to rob the prospective buyer, who pulled out a gun and shot one of them.

The other attempted robbery suspect was taken into custody.

Neighbors heard the gunshots. One woman told Local 10 it happened right outside her window and she believes she heard two shots.

Local 10 is working to find out if the men who have been described as robbers were armed or if they assaulted the man who fired his weapon.

Police said they planned to release more information and the names of everyone involved Wednesday afternoon.