A 33-year-old Newark man was released from jail on Saturday following his arrest in Belleville on Jan. 28 on drug and weapons charges, prison records show.

Officers approached Yamir Diaz, who they found slumped over the steering wheel of a parked car on Delevan Place, police announced on Monday.

When the officers stopped to check on the man, they smelled marijuana, police stated.

The officers told Diaz to remove his hands from his pockets several times, which he refused to do before fleeing on foot, according to police. The officers arrested him after a brief foot chase, police stated.

During the arrest, Diaz refused to remove his hands from his waist area and hit the officers numerous time with his elbows, police said.

A nearby driver stopped and assisted the officers in subduing the struggling man, according to police.

Upon searching Diaz, the officers found marijuana, glassine envelopes containing heroin, and nine pills containing a pink powder, later determined to the psychoactive drug “Molly,” or MDMA, according to police.

The officers also recovered a switchblade from the vehicle’s floor, police stated. Diaz was charged with possession of marijuana, obstruction of justice, resisting arrest, and possession of a prohibited weapon, police stated.

Both officers were treated for minor injuries at the scene, police said. Diaz was transported to the Essex County Correctional Facility in Newark, police said.

His case remained pending at Superior Court in Essex County, police said.