A 29-year-old man, who had attacked cops in the past, once again got into a violent mode and smashed a bottle on a police officer's head in Brooklyn.

The accused was caught on body camera attacking an officer with a bottle, and then trying to hide under a car, said authorities. In the video, Tyshaun Holloway, dressed in a tie-dye T-shirt, was seen suddenly swinging a glass bottle at the officer and then running away. The footage was released by the New York Police Department (NYPD) of the Sunday attack on Instagram Monday.

Warning: Graphic content

Holloway went up to the officer, who was on duty, around 4.50am at the corner of E. 52nd St. and Snyder Avenue in East Flatbush.

According to police, the victim, Officer David Goldman of the 67th Precinct, was part of a team assigned to the area to look into community concerns, reported New York Daily News.

A criminal complaint revealed that after attacking the officer, Holloway ran away and then hid under a car. The injured cop and another officer ran after him and arrested him. In the complaint it is mentioned that Holloway shouted, “Get off me, you f***ing b****! I’m going to kill you as soon as I can!”

Following the attack, the injured officer needed four staples to close a cut to his head.

Jail records reveal that Holloway is 5-foot-5 tall and weighs 160 pounds. He is facing multiple charges like assaulting a police officer, resisting arrest and criminal possession of a weapon, according to New York Post.

On Sunday, he was arraigned in Brooklyn Criminal Court. As per court and jail records, the judge ordered him to be held on $30,000 cash or bond pending another court appearance on Friday.

Holloway has been arrested in the past too. It includes a couple of assaults on NYPD officers in September 2016. Those attacks were linked to a groping incident in The Bronx. The Bronx District Attorney’s Office said that he hit a cop in the face while being placed under arrest.

Later, he was taken to the psychiatric ward at Lincoln Hospital where he threw a part of a heart monitor at another police officer who was assigned to guard him. Holloway even tried to punch the officer, said the DA’s Office.

Holloway struck a plea bargain to misdemeanor assault and forcible touching. He had to serve 30 days in prison.

He was later reportedly charged with two attempted robberies and accused of making terroristic threats in different incidents in Harlem in 2017. According to online records, he was convicted in Manhattan of second-degree assault. He was sentenced to two years in jail and was paroled in 2019. His post-release supervision was completed in February.

Representational image. Getty Images