Det. Sgt. Sha King was shopping for a staple gun to hang up Christmas lights around the house for his wife and daughter at Wal-Mart about 5:15 p.m. Tuesday when the sound of a gunshot jolted him out of his holiday mood.

"I was coming out of the Christmas area near the toys when I heard the shot," King said. "I slowly made my way to the front of the store to find out what was going on."

King said he saw several Wal-Mart employees gathered near the cash register on the general merchandise side surrounding a man with a gun.

"He wasn't waving the gun," King said. "He was standing there looking very surprised."

The man, who police did not identify Tuesday, saying he appeared to be in his mid-20s, was standing in a checkout line when the gun discharged from his pocket.

King called 911, identified himself as a Stephenville police officer, then removed the firearm.

"I called the police station to let them know I had the gun and that it was an accidental discharge," King said.

King said customers inside the store remained calm throughout the ordeal.

"It was very shocking. The gunshot was very loud, then everything went quiet," King said. "No one was screaming."

Lt. Don Miller said the incident is under investigation and that no charges have been filed.

"We are referring this to the county attorney's office," Miller said.

Meanwhile, King said he is relieved no one was hurt.

"He was very lucky he didn't shoot himself in the leg or injure someone else," King said.