OAKLAND — A 19-year-old San Leandro man tried to flee officers after a sideshow and rammed a California Highway Patrol officer before ultimately winding up behind bars Sunday morning, police said.

The CHP arrested Gabriel Parker shortly after 3:30 a.m. when he took off instead of pulling over the silver Hyundai that police said he was driving on northbound Interstate 880.

Police tried to stop the Hyundai near the High Street exit because a passenger in the right front seat was hanging out the window without a seat belt.

Police spotted the car as it left a sideshow.

According to the CHP, the driver exited the freeway on 29th Avenue and spun out. The CHP says the car then rammed a CHP patrol car and continued until hitting a parked car on East 15th Street and becoming trapped on the dead-end street.

Parker tried to run from the wreck but didn’t get away. He was arrested on suspicion of reckless evasion, assault on a police officer, hit-and-run, vandalism and sideshow-related violations.

Police transported Parker to Santa Rita Jail, where he was in custody Sunday in lieu of $141,707 bail.

Police say they do the best they can to monitor sideshows, but that the impromptu nature makes it a challenge. The gatherings attract big crowds and feature cars spinning out and doing doughnuts, among other things.

Contact Rick Hurd at 925-945-4789 and follow him at Twitter.com/3rderh