FOX LAKE, Ill. (CBS) — A Fox Lake police officer was injured Tuesday when a vehicle struck his squad car as he was writing a ticket.

The officer had pulled over a driver and was in his squad car writing a citation, facing west on Rollins Road near Maple Avenue in Fox Lake, according to the Lake County Sheriff’s office.

Another vehicle hit the squad car, police said.

The driver of that vehicle and the police officer were both taken to an area hospital with non-life-threatening injuries, police said.