SAN PABLO (CBS SF) — Police in San Pablo arrested an armed robbery suspect on Saturday after he was seen in the same outfit he wore while allegedly committing the crime, police said.

According to police, the man had just committed an armed robbery at an undisclosed store, where he allegedly took merchandise and pointed a gun at a store employee who confronted him.

READ MORE: Slow Recovery Prompts Businesses to Rethink Their Future in Downtown San Francisco

When police arrived at the store, they viewed surveillance tape and recognized the suspect from prior contacts. Police did not identify the suspect.

READ MORE: South Bay Restaurants Raise Money for Anti-Hate Efforts Supporting AAPI Community

He was captured “minutes” later, police said. He was allegedly in possession of a pellet gun and drugs, according to police.

MORE NEWS: San Jose State University President Says Ex-Trainer Improperly Touched Athletes

© Copyright 2018 CBS Broadcasting Inc. and Bay City News Service. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.