SAN FRANCISCO -- A reserve AC Transit bus was stolen and driven roughly 100 miles before the driver was caught and arrested Friday afternoon, an agency spokesman said.

The Alameda-Contra Costa Transit bus was taken from the temporary Transbay Terminal in San Francisco, located at Main and Howard streets, around 9:20 a.m., AC Transit spokesman Clarence Johnson said.

The bus, which was not in service and is meant to be used only as a backup in case one of the in-service buses breaks down, was tracked by the California Highway Patrol via a GPS system onboard.

The bus traveled "many, many miles," Johnson said, before officers deployed strips that flattened three of the bus's tires on Highway 120 near Oakdale, a city east of Manteca, around 11:30 a.m.

The driver of the stolen bus, who has not been identified, was arrested.

The bus was subsequently towed back to the terminal, where its tires will be repaired. No other damage to the vehicle was reported.

The driver appears to have had knowledge of AC Transit buses and how to operate them, Johnson said.

Check back for updates.

Contact Katie Nelson at 925-945-4782 or follow her at Twitter.com/katienelson210.