GREENWOOD, Ind. (WXIN) — Police have identified the gunman and the victims in a mass shooting at a suburban Indianapolis mall that happened Sunday.

The Greenwood Police Department confirmed a lone suspect entered the food court of the Greenwood Park Mall in Greenwood, Indiana Sunday evening. The suspect then shot into the mall, killing three people and injuring two more. The shooter was shot and killed by a man visiting the mall.

Johnathan Douglas Sapirman

The Johnson County Coroner’s Office and Marion County Coroner’s Office announced the four adults killed in the shooting during a news conference Monday.

The deceased have been identified as 56-year-old Pedro Pineda and his wife, 37-year-old Rosa Mirian Rivera de Pineda. The third victim was identified as 30-year-old Victor Gomez. All three were from Indianapolis.

Police identified the gunman as 20-year-old Johnathan Douglas Sapirman of Greenwood. Sapirman reportedly entered the mall with a rifle and several magazines. He shot and killed three people before an armed citizen killed Sapirman.

According to police, Sapirman doesn’t drive and walked to the mall. Sapirman was armed with a Sig Sauer M400 semi-automatic rifle along with another rifle and a pistol. He had more than 100 rounds of ammunition with him, authorities said.

Police said Sapirman went into the restroom at 4:54 p.m. and didn’t emerge from the restroom and start shooting until an hour and two minutes later.

Police identified the Good Samaritan who shot and killed Sapirman as 22-year-old Elisjsha Dicken.

According to authorities, Pedro and Rosa were sitting and eating when Sapirman opened fire and shot them. Gomez was outside the restroom when he was shot.

Family members told police they were surprised by Sapirman’s attack and that he’d never shown violent indications to them. Sapirman lived alone and when police searched his apartment they found a burned laptop in the oven. His cell phone was found in the mall’s bathroom toilet.

Police said 24 rounds were fired and five people were hit before Dicken shot and killed Sapirman.

Autopsies on all four individuals are scheduled for Tuesday.