BALTIMORE (WJZ) — Police said an officer confronted a man with a rifle Tuesday night after he allegedly shot seven people.

Seven people were shot Tuesday evening in the Madison Park neighborhood, according to police. The suspect had a rifle and was dressed in all black with a ski mask.

READ MORE: National Weather Service: 13 Maryland Counties Under Severe Thunderstorm Watch

Police Searching For Silver Honda Possibly Linked To Baltimore Mass Shooting Tuesday Night; Suspect Had Rifle

READ MORE: High Court Marshal Seeks Enforcement Of Anti-Picketing Laws

The officer who was patrolling the microzone confronted the man after he fired into a crowd gathered at the corner of Eutaw and McMchen Streets around 6:27 p.m.

MORE NEWS: Fourth Of July Fireworks Return To Baltimore's Inner Harbor

“Our officer was on regular routine patrol when he observed a subject shooting at a group of individuals with a semi-automatic assault rifle,” Harrison said. “Based on that, he engaged the suspect and discharged his weapon.”

It is unclear if the officer struck anyone, according to police.

Police said five people were taken to the hospital and are in stable condition. They’re investigating if two additional shooting victims who later walked into the hospital are connected to the incident.

The victims are a 37-year-old woman, a 17-year-old boy, three 20-year-old men, and 23-year-old man and a 24-year-old man.

Investigators said after the officer fired his weapon, the suspect got away.

“The officer is in good condition,” Harrison said. “He is being treated, but not suffering from any gunshot wounds.”

Police said they’re starting an internal investigation

Police also said there is information that supports the suspect opened fire at the officer, but at this time, they cannot confirm.

Kelsey Kushner