Mason Smith, 20, arrested and injured during a chase with Mercer County sheriff's officers in Trenton Thursday.Mercer County Sheriff's Office

TRENTON – A sudden move during a foot chase yesterday afternoon left both a Mercer County sheriff’s detective and the suspect he was chasing with minor brain bleeds after they both were hit by a car driven by another sheriff’s officer, authorities said today.

Detective James Udijohn was running after robbery suspect Mason Smith when Smith allegedly veered onto West State Street, putting both men in the path of a car driven by Detective Jeremy Stewart. The car hit them, "effectively ending the chase," the sheriff's office said in a news release.

Udijohn also suffered fractures to the left side of his face and a laceration above his left eye, the sheriff’s office said.

Smith, a 20-year-old Trenton resident, sustained broken ribs and a fractured sternum during the crash.

Both men are in stable condition at Capital Health Regional Medical Center, authorities said.

Smith was arrested by backup officers. At the hospital, a plastic baggie of cocaine was allegedly found in his underwear, while a vial of crack was discovered in his pocket.

Smith was charged with robbery, aggravated assault, resisting arrest, obstructing the administration of law, possession with intent to distribute, drug possession, and a Failure to Appear warrant.