By CBS13 Staff

TUOLUMNE COUNTY (CBS13) — A Washington state man is under arrest after an eight-hour standoff inside a general store near the Yosemite National Park gate in Tuolumne County over the weekend.

The sheriff’s office says, just after 11 a.m. Sunday, deputies got a report about a man armed with a knife who was inside the Yosemite Lakes County Store. Authorities say the man came into the store irate and refused to leave.

READ MORE: Amber Alert: Children Abducted By Father In Riverside County, Possibly Near Modesto

All customers and employees managed to get out of the store safely before deputies got to the scene.

Law enforcement officers – including representatives from the Tuolumne County Sheriff’s Office, the US Forest Service, Fish and Wildlife, Yosemite National Park Law Enforcement and CHP – all tried to contact the man, but couldn’t.

READ MORE: Sacramento Police Say Thieves Target Women Along Stockton Boulevard In Broad Daylight

A standoff then followed, with the sheriff’s office Crisis Response Unit (consisting of a SWAT team and crisis negotiators) responding to try and talk with the suspect.

After about eight hours, the SWAT team went into the store and took the suspect – now identified as 39-year-old Oroville, Wash. resident Robert Loschiavo – into custody without incident.

MORE NEWS: 2 Now-Former Stockton Police Officers Charged In Beating During Arrest Of Teen

Loschiavo is now facing charges of robbery and resisting arrest.