Ogden Police Lt. Kevin Cottrell said Martinez and Gomez entered the store and told the clerk to empty the register, with one of them pulling out a handgun and pointing it at the clerk.

Adams is believed to have driven the trio from the alleged robbery, Cottrell said.

Ogden officers used surveillance footage from the Maverik to identify Gomez, Cottrell said. Police then contacted the suspects at Gomez’s house, and the three suspects confessed.

In a search of the home, police found a BB gun — believed to have been the weapon used in the robbery — and about half of the roughly $260 the trio had taken, Cottrell said.

Martinez, Gomez and Adams were arrested and booked into Weber County Jail. Each was charged Tuesday in 2nd District Court in Ogden with a first-degree felony count of aggravated robbery, according to court documents. If convicted, they could face a sentence of life in prison.

Gomez is also facing a second-degree charge of possession of a controlled substance in a correctional facility.

Contact reporter Bubba Brown at 801-625-4221 or bbrown@standard.net. Follow him on Twitter at @BubbaBrownSE.