MIAMI (CBSMiami) – A chaotic scene unfolded in Hialeah Gardens Thursday after a man went on shooting spree, ending with back and forth fire between him and police.

“He had already shot the dog. He had already shot two people. He had already shot at officers,” said Miami-Dade PD spokesperson Alvaro Zabaleta.

READ MORE: Rose Becomes 17th Named Storm Of Busy 2021 Hurricane Season

Some of the incident was caught on surveillance camera.

Within seconds of police pulling up behind a black pickup truck, more than 10 shots could be heard.

“It’s just a crazy situation. Just imagine a long day at work and come home to this,” said neighbor Isaiah Munoz. “I don’t want to say. It’s unheard of because anything can happen anywhere, but here, in this specific area, this neighborhood, it’s not something you come home to see.”

According to Miami-Dade PD, the incident began in the suspect’s home in the Les Fountains complex off NW 122 Street and NW 89 Avenue.

“A 31-year-old Hispanic Latin male shot a dog inside the house. He then fled the residential area into the city of Hialeah. Then shot two individuals – a male and a female,” said Zabaleta.

READ MORE: ‘Inspire What Can Be Done Here In Space’: Inspiration4 Crew Successfully Splashes Down After 3-Day Space Trip

The 79-year-old female and 54-year-old male, who names have not yet been released, are said to be in stable condition.

Officials said the suspect then went back home, where another shooting accorded

“He then fled back towards his residents and once he was here he confronted a responding officer he opened fired at the officers and the officers returned fire,” explained Zabaleta. “He then continued to flee towards his residence.”

Two officers were involved in the shooting, but luckily none of them were injured.

After the shooting, they were able to take the suspect into custody at his home. The suspect had been shot and had to be transported to the hospital.

“This could have been more tragic. We could have had two individuals dead in Hialeah. We could have had an officer dead here on the scene,” Zabaleta said.

MORE NEWS: Massive Search Underway For Brian Laundrie, Fiancé Of Missing Florida Woman Gabby Petito

MDPD said at this time they do not know the motive or the suspect’s connection with the two people shot in Hialeah.