SAN PABLO (BCN) – San Pablo police officers put the department’s new K9 staff member into action Saturday night, after a suspect tried to flee on foot after officers found a gun in his vehicle.

Officers had spotted a parked vehicle that had no license plates late Saturday night and spoke with the man inside. He admitted to having multiple ounces of marijuana in the car and a search of the vehicle ensued.

READ MORE: SF Marina District Residents Fed Up With Brazen Crime Spree Hire Security

When officers found a handgun hidden in a compartment in the dashboard behind the glove box, the suspect fled on foot, jumping fences in the neighborhood as he ran from officers.

With the assistance of the Contra Costa County Office of the Sheriff, Richmond Police Department and California Highway Patrol, police set up a perimeter. A CHP helicopter also assisted.

Marijuana seized following an arrest involving a police K-9 in San Pablo on June 12, 2021. (San Pablo Police Department)

Marijuana seized following an arrest involving a police K-9 in San Pablo on June 12, 2021. (San Pablo Police Department)

READ MORE: UPDATE: Alameda Businesses Fight Back Against Serial ADA Lawsuit Filer

However, it was the police dog with San Pablo Police Department that tracked the suspect to a hidden location between the side of a house and a small shed.

Officers said the suspect complied with the dog’s commands and surrendered quickly and peacefully. Officers later determined the handgun recovered during the arrest was loaded and reported stolen in Oakland.

Police did not immediately release the suspect’s identity.

MORE NEWS: UPDATE: Mystery Hero Rescues Man Trapped In Burning Building In San Francisco

© Copyright 2021 CBS Broadcasting Inc. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed. Bay City News Service contributed to this report.