A 40-year-old Martensville man is charged with uttering death threats and unsafe storage of a gun after a standoff last Thursday.

Keith Rodney Starling Korol appeared in provincial court in Saskatoon on Monday, according to RCMP.

Police spent much of Thursday morning on scene at a home in Martensville where a potentially armed man barricaded himself inside.

Officers set up a perimeter around the home and a crisis negotiator was brought in to resolve the situation, RCMP said at the time.

He was later safely taken into custody.

A previous version of this story stated Keith Rodney Starling Korol appeared in provincial court in Martensville. This information was provided by RCMP. The story was updated after CTV News contacted RCMP for further clarification.