The NYPD identified a man shot to death Saturday afternoon in Brownsville by two housing bureau officers as Erickson Brito, 21, of Brooklyn.

Brito, of Mother Gaston Boulevard, was shot after the officers responded to a 911 call at 1:10 p.m. about a suspicious man in the ninth-floor hallway of the Van Dyke Houses near Sutter Avenue, police said.

When the officers entered the hallway of the public housing complex, the man later identified as Brito attacked them, police said.

Both officers were injured in the attack and taken to Jamaica Hospital Medical Center, said NYPD Chief of Housing James Secreto. Their names were not released.

“They approached the subject and asked for his identification. Conversation ensued. Next thing you know, there’s a scuffle. . . . The officer removes his metal baton, the subject gets ahold of this baton and starts assaulting the two officers,” Secreto said Saturday.

The suspect struck both officers multiple times, he said, leaving a two-inch gash on the male officer’s head.

advertisement | advertise on newsday

“Both officers at this time fired at the subject and he was struck several times,” Secreto said.

The suspect was pronounced dead at the scene and the investigation is ongoing, Secreto said.

The female officer was released Saturday night and the male officer remained hospitalized in stable condition, police officials said Sunday morning.

Police Commissioner James P. O’Neill visited the two injured officers at the hospital late Saturday afternoon, a police spokesman said. An NYPD sergeant outside the hospital said Mayor Bill de Blasio also visited, but that could not be confirmed.

Van Dyke is one of 15 New York City Housing Authority developments where the mayor’s office is pursuing what it describes as a “21st century” crime reduction approach that goes beyond traditional law enforcement to address topics like lighting and building design.

The program was put in place in 2014 as crime dropped citywide but soared in public housing developments. The 15 developments where the program was enacted accounted for 20 percent of all violent crime in public housing that year, according to a release from the mayor’s office.

Earlier this year, NYPD Officer Peter Liang was convicted of manslaughter in the 2014 stairwell shooting death of Akai Gurley in the Louis H. Pink projects in the nearby East New York neighborhood. Liang was later cleared of manslaughter and given probation by a Brooklyn judge.

With David Olson