Five people were shot—three fatally—Wednesday afternoon in the Brighton Park neighborhood on the Southwest Side.

The shooting happened at 2:58 p.m. in the 3900 block of South Albany, according to Chicago Police. The group was inside a home when a male suspect walked in and began shooting.

Filogonio Rivera-Camacho, 20; and Emmanuel Camacho, 18, were both shot in the head and pronounced dead at the scene, according to police and the Cook County medical examiner’s office. They lived in the same block as the shooting.

Julian Miller, 19, was shot in the torso and was taken to Mount Sinai Hospital, where he died at 3:27 p.m., authorities said. He lived in the Greater Grand Crossing neighborhood on the South Side.

Autopsies Thursday found all three died of multiple gunshot wounds, and their deaths were ruled homicides, according to the medical examiner’s office.

Another 19-year-old man was shot in the side of his body and was taken to Mount Sinai, police said. A second 18-year-old man was shot in his torso and was taken to Stroger Hospital. Both were in critical condition.

A police source said the shooting appeared to be related to drugs. One of the victims ran from the home after the shooting and into a nearby business to call authorities, police said.