A Medford man with California fugitive warrants is suspected of robbing a Subway restaurant over the weekend using a fake gun.

Tommy Carlos Olivares, 40, faces a felony second-degree robbery charge alleging he held up the sandwich shop at the Northgate Center in Medford about 9:45 p.m. Saturday, according to documents filed in Jackson County Circuit Court. Medford police allege he brandished a "replica handgun" in the robbery, demanding money that was inside the register and a tip jar before fleeing on foot, according to a release issued by Medford police.

Olivares, with an address listed in court records in the first block of Kenwood Way, was arrested within 26 hours of the robbery, according to police. Medford police Lt. Kerry Curtis described Olivares' quick capture as "very, very good work" on behalf of the patrol officer who recognized Olivares from witness descriptions and video surveillance footage during a "completely unrelated" stop for a traffic violation.

"That officer was able to piece it all together," Curtis said.

At 11:25 p.m. Sunday, police stopped a 2011 Kia Sorento SUV with California plates at the Food 4 Less parking lot, according to court documents filed by Medford police. Olivares was behind the wheel.

During the stop, Olivares was found to have Ventura County fugitive warrants charging him with burglary, grand theft and failing to appear, court documents show.

Police allegedly found a bag of black tar heroin on Olivares while searching him for weapons, court documents say. Inside the vehicle, police found a replica handgun resembling the weapon used during the robbery, according to Medford police, and the vehicle was seized as evidence.

Police are "still solidifying" the case, Curtis said. Anyone with information is asked to call the Medford Police Criminal Investigations Division at 541-774-2230.

On Monday, Olivares waived an extradition hearing in court and pleaded guilty to a misdemeanor heroin-possession charge, records show. The state of California has 30 days to pick him up upon completion of local charges, according to court filings.

The Jackson County District Attorney's Office charged Olivares Tuesday with a count of second-degree robbery.  As of Tuesday afternoon, no court appearances had been scheduled in the robbery case.

Olivares remained lodged in the Jackson County Jail without bail.

— Reach reporter Nick Morgan at 541-776-4471 or nmorgan@rosebudmedia.com. Follow him on Twitter at @MTCrimeBeat.