Two Janesville juveniles were taken into custody after a high-speed pursuit by deputies across two counties early Wednesday, officials said.

The Walworth County Sheriff's Office said at 2:47 a.m. a deputy attempted to stop a black 2008 Nissan Versa on County Road A near County Road H in the town of Sugar Creek.

The Nissan’s speed was clocked by radar at 87 mph in a 55-mph zone, the sheriff's office said. The Nissan didn't stop and continued west, increasing speed to more than 100 mph and passing through the stop sign at County Roads A and O without stopping. 

During the pursuit, the car drove into a ditch and the driver was driving erratically, officials said.  The Nissan continued west at the intersection of County Road A and Highway 89, going through the stop sign at a high rate of speed.

The Rock County Sheriff’s Office was notified as the pursuit continued west toward the county line, according to the report. The Nissan turned north off of County Road A onto County Road M, in Rock County, at a high rate of speed.

The Walworth County sheriff’s deputy stopped the pursuit on County Road M near County Road KK in Johnstown Township. After the deputy pulled over and turned off emergency equipment, area police agencies were updated on the last known direction of travel of the Nissan.

The Walworth County Sheriff’s Office said the deputy drove a short distance north on County Road M and saw the black Nissan had crashed into a field. The two occupants were seen running from the vehicle and the deputy chased them on foot.

Two juveniles were taken into custody at 3:45 a.m. with help from the Rock County Sheriff’s Office, the report said. Milton Fire and Rescue was called to the help and both juveniles were taken to a local hospital with minor injuries.

The case is under investigation and charges are pending.