A 22-year-old man was fatally shot at 203 Scholes St. in Williamsburg Friday afternoon, April 28, police said. View Full Caption DNAinfo/Gwynne Hogan

BROOKLYN — A man was fatally shot on a Williamsburg street in broad daylight Friday afternoon, police said.

The 22-year-old, whose name wasn't immediately released, was gunned down outside the Williamsburg Houses at 203 Scholes St., near Humboldt Street, about 12:30 p.m., an NYPD spokesman said.

He was pronounced dead at Kings County Hospital, police said.

"I thought it was a machine gun," said a terrified Rosa Vasquez, 78, in Spanish, who was sitting in the park inside the Williamsburg Houses compound when she heard the shots.

She ran and hit behind a fence and then snuck back into her home, the first time in the 20 years she'd lived in the Williamsburg houses that she had to hide from gunfire.

Resident Mario Nuñez, 67, looked out his window after hearing gun shots.

"It was fast, three or four shots," Nunez said in Spanish. "A few women came out and tried to give him mouth to mouth."

"They were crying," he added, pointing to a pile of clothes and belongings where the man died.

The suspect, dressed in a white hoodie with red stripes, fled the scene on foot, police said.

It wasn't immediately clear what sparked the shooting.

It's the second death in a matter of weeks in within just a few block radius. On April 11, Tiquan Hamilton was shot dead inside Martinez Park two blocks away, also within the Williamsburg Houses complex.