This is an archived article and the information in the article may be outdated. Please look at the time stamp on the story to see when it was last updated.

BEDFORD-STUYVESANT, Brooklyn— Police said a local rapper is facing charges after video circulated online of a man shooting a flamethrower while standing on top of an MTA bus in Brooklyn.

The video sparked an NYPD investigation Tuesday into the Nov. 8 incident, which happened at Franklin Avenue and Putnam Street in Bedford-Stuyvesant, according to police.

Brooklyn rapper Dupree G.O.D, real name Christopher Dupree, was hit with charges Wednesday including reckless endangerment and criminal possession of a weapon, authorities said.

NYPD Chief of Detectives Rodney Harrison tweeted Wednesday afternoon that Dupree, 36, had been apprehended.

Video was posted to the musician’s Instagram account Wednesday showing Dupree being taken into custody after turning himself into police in Brooklyn.

The wild video showed a shirtless man jumping from the top of an ice cream truck onto an MTA bus that had just pulled up alongside it.

The man then shoots the flamethrower, spraying flames into the sky and onto the ground before jumping onto the street, the video shows.

The video appears to have been part of the filming of a music video, according to Dupree’s Instagram account.

Another video posted to the rapper’s Instagram shows the same incident from above, possibly filmed by a drone.

“We shut Franklin Avenue down. With amazing energy. We are in this together. We the illest. Video coming,” part of the caption read.

Police were called to the scene at the time, but officers who arrived found no evidence of fire and could not find any witnesses, according to the NYPD.

A police spokesperson called the video shoot “impromptu and illegal,” adding that the NYPD was not aware of any permits for the shoot. The NYPD is also investigating possible drone use in the video shoot.

The MTA said 25 passengers were on the B26 bus when the man jumped onto the roof. No injuries were reported.

The bus was discharged at the following stop and passengers were transferred to another bus, the MTA said.

“We don’t even need to say how absurd, dangerous and just plain stupid this was. The reckless individual who torched over the top of an occupied bus put New Yorkers, including the bus operator, in life-threatening peril,” the MTA said in a statement Tuesday. “We are grateful the courageous actions of the operator in moving riders to safety minimized risk, and are cooperating fully with the NYPD investigation.”