An NYPD officer was wounded in a Cypress Hills shooting Thursday afternoon, according to a police spokesperson. Update: The gunman, a 29-year-old man, killed himself, according to police.

CBS reports the incident took place at 4:54 p.m. near 149 Ridgewood Avenue in Brooklyn. According to the news network, the injured officer was taken to Jamaica Hospital Medical Center with non-life-threatening injuries, but a spokesperson from NYPD could not immediately confirm additional details.

The suspect involved in the shooting is believed to have barricaded themselves inside after shooting police officer four times in the chest and once in the arm, according to PIX 11. While initial reports stated the officer involved as being female, a police spokesperson confirmed to DNAinfo that the injured officer is male and was shot in an area covered by his bulletproof vest.

NYPD Commissioner James O'Neill said during a press conference that the gunman's mother had called police, saying her son was acting erratically but added that he was "not violent" and was not armed. But, O'Neill said, "As the first officer approached the rear bedroom, the subject fired several shots, striking the officer several times. He was struck once in the right arm and twice in the protective vest. The officer did not return fire, the injured officer, who is 30-years old and has been on the force for just over two years was treated by EMS on the scene and removed here to Jamaica hospital, where he is alert and in stable condition and the Mayor spoke about our conversation with him, brave young man."

When ESU eventually entered the bedroom at 7 p.m., "They discovered the subject was deceased with an apparent self-inflicted gunshot wound and two guns were recovered by his side," O'Neill said.