NYSSA, Ore. -- A 21-year-old man is behind bars after investigators say they linked him to the robbery at a Nyssa bakery Saturday night.

Malheur County Sheriff Brian Wolfe told KTVB that Thomas Rupe of Nyssa was arrested after a traffic stop just outside of town early Monday morning. Rupe has been booked into the county jail, and faces charges of first-degree robbery and theft.

MORE: Nyssa bakery robbed by masked man with machete

The robbery happened at about 8 p.m. at Rodriguez Bakery on 3rd Street. Surveillance photos show a man wearing a camouflage jacket and a ski mask walk into the business carrying a machete. The robber made the bakery employee put money from the cash register into a backpack, then left.

Bakery owner Marco Rodriguez said the employee was not hurt during the robbery. The culprit got away with a little more than $300. It's unclear whether that money was recovered during Rupe's arrest.

Rodriguez says he plans to install more security features and get his employees in concealed weapons training to deter future crime.