Plainfield police were led on a wild chase Monday afternoon. Above, a Plainfield police car in a file photo.Star-Ledger file

PLAINFIELD — Two men in a stolen car led Plainfield police on a turbulent chase Monday, one that resulted in a smashed police cruiser, a carjacking and two arrests on weapons and drug charges.

Plainfield police responded Monday afternoon to a report of an attempted armed robbery in the area of Berckman Street and East 6th Street, authorities said.

When they tried to stop a vehicle matching a description from the scene, police said driver Jibreel Elliot, 21, took off, with 21-year-old passenger Michael Whitehurst in tow.

As police pursued the car, a gun was tossed out the window. Authorities later determined that both the gun and the car had been stolen.

Union County Police got involved in the chase, and Elliot purposely steered the stolen car into a UCPD cruiser as he continued to evade the authorities, police said. The police officer in that car was not injured.

After a lengthy pursuit, the stolen car crashed in the area of Franklin Place and Watchung Avenue, police said, and Elliot and Whitehurst fled on foot.

Elliot was quickly apprehended, but Whitehurst made his way toward a house, which he tried to force his way into, according to police. The home’s owner was able to keep him out.

Whitehurst then set his sights on a parked car nearby, which was occupied at the time. He climbed in and demanded to be driven away from the scene, but police were able to stop the car before it got away, authorities said. The occupant of the car was not injured.

Upon their arrests, Elliot was found to be in possession of 10 bags of heroin, and Whitehurst was in possession of marijuana, police said.

Elliot, the driver, was charged with attempting to elude police, aggravated assault, resisting arrest, two counts of possession of a weapon for unlawful purpose, possession of a controlled dangerous substance, possession with intent to distribute, hindering, two counts of receiving stolen property, and additional weapons charges.