Jason M. Smalarz, 33, of the 700 block of Dartmouth Dr., was charged with aggravated battery, according to a McHenry County Sheriff's Office news release.
Smalarz called the taxi service Tuesday night and asked to be picked up from a McHenry home. At about 10:45 p.m., Smalarz began hitting the cab driver in the head while en route to his destination, the Sheriff said.
The cab driver pulled over in the 900 block of River Road in unincorporated McHenry and called 911. Smalarz kicked the driver in the side and then ran away on foot, according to Sheriff's officials.
McHenry County Sheriff's deputies arrived at the scene, located Smalarz nearby and took him into custody.
The McHenry County State's Attorney's Office approved the charge of aggravated battery.
Smalarz was transported to the McHenry County Correctional Facility. His bond was set at $25,000, and he is scheduled to appear in court Jan. 6.