Sgt. Eddie Rodriguez told The Associated Press that police got a call around 6:30 p.m. Friday that shots had been fired in a building with dozens of apartments in Hialeah, just a few miles north of Miami.
Rodriguez said that when police arrived, they discovered an active shooter situation: "He's inside the building, moving from floor to floor. Eventually he barricades himself in an apartment."
A crisis team was able to briefly establish communication with the man. Rodriguez said negotiators and a SWAT team tried talking with him from the other side of the door of an apartment unit where he was holding two hostages.
But Rodriguez said the talks eventually "just fell apart." Officers stormed the building, fatally shooting the gunman in an exchange of gunfire.
"They made the decision to go in there and save and rescue the hostages," Rodriguez said. Both hostages survived. Rodriguez said he didn't have any information on how long negotiations lasted.
He said police discovered two people, a male and female, shot to death in the hallway in front of one unit. Three more, a male and two females, were found shot and killed in another apartment on a different floor. Another man who was walking his children into an apartment across the street also was killed. Rodriguez said it wasn't immediately clear whether the gunman took aim at him from an upper-level balcony or if he was hit by a stray bullet.
"From up there, he was able to shoot at people across the street, catching this one man who was just walking into his apartment," Rodriguez said.
Fabian Valdes, who lives across the street, said he heard shots fired and then looked out his window and saw a man lying on the floor, outside the front lobby. He was on his back and had his arms and legs outstretched.
Valdes said he was in shock. "It's something you never expect," he said.
In the large Miami suburb of Hialeah, the entrance to the quiet neighborhood lined with apartment buildings was blocked off early Saturday.
The standoff occurred in an aging beige five-story building with an open terrace in the middle.
Miriam Valdes, 70, said she lives on the top floor — one floor above where the shooting began. She said she heard gunfire and later saw smoke entering her apartment.
She described running in fear to the unit across the hall, where she stayed holed up as officers negotiated with the gunman.
From the apartment, Valdes said she could hear about eight officers talking with the gunman.
She said she heard the officers tell him to "let these people out."
"We're going to help you," she said they told him.
She said the gunman first asked for his girlfriend and then his mother but refused to cooperate.
Ester Lazcano said she lives two doors down from where the shooting began and was in the shower when she heard the first shots. Then there were many more.
"I felt the shots," she said.
Neighbors said the gunman lived in the building, but police wouldn't confirm that information. Rodriguez said police were still investigating the motive and identifying the gunman and victims.
"Investigators are talking with families of the victims, neighbors, people that were present when all this began," he said. "That way we can start to piece together this huge puzzle that we're working with."
Associated Press writer Suzette Laboy contributed to this report.