OAKLAND (CBS SF) — An Oakland police officer was injured Wednesday evening after a suspect allegedly involved in a police pursuit rammed their car into a patrol vehicle.

A suspect who fled into Berkeley after a police pursuit that began in Oakland, in which an officer suffered minor injuries, has been apprehended, according to police.

The incident began at about at about 6:50 p.m., near 14th and Harrison streets in Oakland, according an Oakland police dispatcher.

During a vehicle pursuit, the suspect allegedly rammed their vehicle into the officer’s patrol vehicle, according to the dispatcher.

The officer suffered minor injuries.

It was not immediately clear what caused the pursuit.

The suspect then fled in their vehicle and ended up in Berkeley, near College and Ashby avenues.

At about 7:30 p.m., there was a three-car crash at the intersection in Berkeley and police asked the public to avoid the intersection, as they sought the suspect, along with help from Oakland police.

The suspect fled to the roof of an ice cream parlor and his passenger went into an area business. The female passenger was soon detained.

At 8:52 p.m., Berkeley police said the suspect was taken into custody following a standoff.

© Copyright 2017 by CBS San Francisco and Bay City News Service. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.