MIAMI -

Police in Miami are investigating a shooting that took place early Tuesday morning.

A spokeswoman for the Miami-Dade Police Department said officers were serving a search warrant at 132 NE 64th St. when they witnessed a drive-by shooting.

"It appears that these individuals were the victims of a drive-by shooting.  The officers happened to be in the immediate vicinity," said Lt. Rosanna Corder-Stutz.

Miami-Dade police said a silver Toyota RAV-4 drove up, and several men got out and started shooting at a group of people standing on the corner.

At least two Miami-Dade police officers fired their weapons, police said.

"I heard a good 30 shots. It sounded like somebody was banging at the door," said a neighbor who did not want to be identified. "I came out to come check, and the police were coming down the street, pistols drawn. They came down the street and asked, 'Is anybody here?' I said no. I (saw) a dude come from back there, and he had been shot."

The shooters got back into the RAV-4 and drove south. It is unclear whether any of them were injured.

When the chaos cleared, two men were found critically wounded.

The two gunshot victims were taken to Jackson Memorial Hospital's Ryder Trauma Center.  That victims' names have not yet been released, but police said they are both men, ages 31 and 23.

"These individuals were apparently victims of this drive-by shooting," Corder-Stutz said.

It is unclear whether the victims were the targets of the shooting, or if they were in the wrong place at the wrong time.

Crime scene tape blocked a large perimeter along Northeast 2nd Avenue, between 62nd and 67th Streets. Witnesses said that crime scene tape also blocked several homes.

Dozens of shell casings were collected. Police said they are certain more than one gunman fired a weapon.

Even though the shooting happened within Miami city limits, the Miami-Dade police were leading the investigation.