Three officers in Kansas City who were shot Sunday are all expected to survive, Police Chief Rick Smith said. The suspect in those shootings is dead. The shooting happened just after 12:15 p.m., our CBS affiliate KCTV reports.

The gunman has now been identified as 25-year-old Marlin Mack. Police said he was as a person of interest in the slaying of 25-year-old Sharath Koppu, who was fatally shot during an armed robbery on July 6 at a fast-food restaurant where he worked. Relatives said Koppu was studying for a master's degree in computer engineering at the University of Missouri-Kansas City.

Police spokesman Sgt. Jacob Becchina says the first two officers were shot while working in an undercover operation at a motel near Interstate 70 and 40 Highway, less than 2 miles from Kauffman Stadium, where the Kansas City Royals play.

At that time, two officers were hit by gunfire.

They are currently in the hospital with non-life-threatening injuries and are in stable condition.

Police said the suspect then left the scene with a passenger in the car.

The vehicle and passenger were found a short time later. That passenger was taken into custody.

Police then engaged in a standoff with a suspect, who was barricaded inside a house.

There, gunfire was exchanged with the suspect at least three more times.

During that, one additional officer was hit by gunfire there and was also taken to the hospital.

The investigation is ongoing.