A man went for a joyride after attacking a San Francisco Muni bus driver and hijacking the public transportation vehicle early Thanksgiving weekend, police say.

Cops said the bus was taken by force at Mission and Cortland streets. It did not have passengers on it at the time, and the driver was able to exit. 

The bus hit approximately 10 vehicles as the suspect drove to the area of 19th and Guerrero streets where the bus came to a stop and officers took him into custody. 

A driver in one of the vehicles suffered a non-life-threatening injury. 

CALIFORNIA HOUSE FIRE BEING INVESTIGATED AS TRIPLE HOMICIDE AFTER 3 FOUND DEAD

Police identified the suspect as 36-year-old Rickey Dancy, according to the San Francisco Chronicle. He was also taken to the hospital with non-life-threatening injuries. 

NEWSOM WON'T CHALLENGE BIDEN IN 2024, SAYS HE IS 'ALL IN' ON PRESIDENT'S RE-ELECTION

Hijacked muni bus two

Close up look at the San Francisco Muni bus police say was hijacked,  (KTVU FOX 2)

"Dancy was booked in a San Francisco County jail and slapped with about 17 charges including felony carjacking, felony evading an officer with willful disregard, and felony DUI causing injury," the New York Post reported. 

Bus hijacked in CA three

Motive for the bus hijacking now known at this time. (KTVU FOX 2)

A witness said the bus read "EMERGENCY CALL POLICE 911" on its display rather than the bus line identifier. 

CLICK HERE TO GET THE FOX NEWS APP

Police are asking any witnesses to contact them. 

The bus driver is okay, police say.