At least four people were shot and wounded at a baby shower in Brooklyn on Sunday night, the authorities said.

The victims, three men and one woman in their early 20s, were shot outside an event hall in East Flatbush while the baby shower was taking place inside, a law enforcement official said. The official spoke on the condition of anonymity because the Police Department was still investigating the shooting.

The police confirmed that four people were shot around 8:30 p.m. at the Remsen Hall at 375 Remsen Avenue. A 22-year-old man was shot in the chest and a 22-year-old woman were shot in the arm, and both of them were taken to Kings County Hospital, officials said. Another man, a 20-year-old who was shot in the shoulder, was also being treated there. A 21-year-old man was shot in the leg and taken to Brookdale Hospital. None of their injuries were considered life-threatening, police and fire officials said.

It was not clear on Sunday night what prompted the gunfire. The police released few details about the shooting, citing the ongoing investigation.