SAN MARCOS (CNS) - A juvenile carjacker led deputies on a high speed chase, crashed the stolen vehicle, hid under an RV and was apprehended by a police dog named Shark, deputies said Sunday.

Deputies spotted a stolen vehicle driving with the headlights turned off on Twin Oaks Valley Road entering the westbound ramp of State Route 78 about 10:12 p.m. Saturday, Sheriff's Sgt. Mark Moreno said.

The driver attempted to elude deputies by driving at high speeds. The vehicle rolled over and crashed as its driver exited the freeway at San Marcos Boulevard, Moreno said.

The suspect immediately jumped out and ran, and deputies set up a perimeter as a San Diego Police Department helicopter helped search for the suspect, he said.

A deputy and Shark the police dog located the carjacker in a closed RV sales lot, hiding underneath a vehicle. When the suspect refused to come out of hiding, Shark was directed to extract and apprehend the suspect, Moreno said.

The juvenile, whose name cannot be released, was treated by paramedics for Shark bites and transported to Palomar Hospital before being taken to Juvenile Hall, he said.