This is an archived article that was published on sltrib.com in 2013, and information in the article may be outdated. It is provided only for personal research purposes and may not be reprinted.

Prosecutors have charged James Ramsey Kammeyer for allegedly pointing a gun at three people in the West Valley City police station — which got him shot.

Kammeyer, 39, was charged Tuesday in 3rd District Court with threat of terrorism, three counts of aggravated assault and possession of a firearm by a restricted person. If convicted, each charge carries a potential sentence of five years in prison.

On April 29, Kammeyer walked into the police station at 3575 S. Market Street and approached the receptionist's window. He asked to speak with a detective and was directed to an officer at another window, according to the charges. He asked to speak with the detective in private, but then agreed to meet with the officer in the lobby instead.

While the detective was on his way over, he noticed that Kammeyer appeared to be fidgeting with something in his pocket, according to the charges. When he asked from the door that Kammeyer takes his hands out of his pockets, Kammeyer pulled out a handgun and pointed it at the detective, the charges add.

"[The detective] stated that he quickly closed the door and yelled 'gun,' " the charges read. The detective radioed for help and commanded Kammeyer to drop the weapon, but he instead pointed his gun at the receptionist, the charges add.

A second officer ran down the stairwell and arrived at a door leading to the lobby. When he opened the door slightly, Kammeyer pointed the gun at the officer's head — so he opened fire on Kammeyer, the charges state.

Kammeyer was hit twice in the arm. He was taken to a local hospital and treated for his injuries. Investigators suspect he may have been trying to commit "suicide by cop."

Since Kammeyer is a convicted felon — he pleaded guilty in 1999 to child sex abuse — he's not allowed to have a gun.

Kammeyer was charged last week in West Jordan Justice Court with criminal mischief and two counts of commission of domestic violence in the presence of a child, stemming from an alleged domestic dispute the night before the shooting. All of those charges are class B misdemeanors.

He has pleaded not guilty to those charges, and is scheduled to appear in justice court on May 15.

mmcfall@sltrib.comTwitter: @mikeypanda