A suspect is dead and two police officers injured after a shooting in Brooklyn.

This afternoon in Van Dyke Houses in Brownsville, a housing officer shot and killed a man after he allegedly attacked them.

According to police officials, the person grabbed the baton from one of the officers and started beating them in the heads. Both officers have serious injuries. One of the officers fired his gun and killed the man.

The officers were rushed to Jamiaica Hospital to be treated for their injuries.

The Van Dyke Houses include 22 buildings and more than 1,600 apartments.

It is unclear what led up to the incident, or whether the officers approached the man to question or arrest him.

A number of high-ranking police officials are at the scene, according to sources.