JERSEY CITY -- A 23-year-old man told police he was God before swinging a samurai sword at officers in the Heights, authorities said.

Jacob Perez was charged with aggravated assault on a police officer, resisting arrest, and weapons offenses for the incident on Kennedy Boulevard near Floyd Street on Monday afternoon.

At about 12:45 p.m., police were told a man dressed in all black -- later identified as Perez -- was carrying a "large sword" in the area. Officers told Perez to drop the "long black Katana sword," but he told them he was God and then removed the weapon from its case. Perez said he would put the sword away if police put their guns away, according to the report.

Perez briefly put the weapon back into its case but quickly removed it and began swinging at police. One of the officers "attempted to tase" Perez but the 23-year-old took off running, according to the report.

The officers followed Perez into an alleyway on Floyd Street, where he jumped on top of a car with the sword still in his hand. He later dropped the sword, was placed under arrest, and brought to Jersey City Medical Center for evaluation, the report states.

Caitlin Mota may be reached at cmota@jjournal.com. Follow her on Twitter @caitlin_mota. Find The Jersey Journal on Facebook.