A Medford man is behind bars after he allegedly robbed a fast-food restaurant because the lobby was closed.

Erik Dante Karlson, 52, was arraigned Thursday in Jackson County Circuit Court on felony burglary, robbery and misdemeanor theft charges stemming from an alleged robbery involving a fire extinguisher Tuesday night at the south Medford Del Taco on East Barnett Road.

Karlson allegedly entered the restaurant Tuesday evening when the lobby was closed and demanded food, according to court documents filed by Medford police. When restaurant employees refused to serve him, Karlson became enraged and picked up a fire extinguisher, which he used to threaten staff to empty the register before fleeing the store with roughly $150.

The restaurant serves motorists through a drive-thru window 24 hours a day, but closes the lobby at 9 p.m.

Police were able to identify Karlson from surveillance footage because he was recently released from the Jackson County Jail wearing an identical snowflake-patterned beanie, red gloves and dark jacket, according to court documents.

Karlson also faces felony charges of first-degree robbery and second-degree assault for a Feb. 15 attack on a woman involving a metal pipe, according to court documents, and on a misdemeanor meth-possession charge.

Circuit Court Judge Lorenzo Mejia set Karlson's bail at $500,000 Thursday afternoon, and set intensive conditions should he be released such as required weekly check-ins, according to court records.