Police said they were called to the restaurant at 10 p.m. because the 42-year-old man was pointing a gun at customers in Wing Stop restaurant.

While the man was standing at the restaurant's entrance he refused to follow police officers' commands and he fought off a police K-9 dog.

"As the involved officers challenged the suspect, the suspect lifted his sweatshirt brandishing a handgun at the officers. Fearing that the suspect was going to shoot, the involved officers shot the suspect resulting in the suspect’s death at the scene," Cmdr. Vincent Maiorana said.

As the man reached for his gun, three officers shot him simultaneously, Maiorana said. His name has not been released.

"It was just horrible. I've never really been through anything like that," Wing Stop employee Maria Rendon said. "I heard the shots and I looked away. We ducked down."

"They said everybody get down, so we got under the tables. We were scared," 15-year-old Yessica Villa said.

A second dangerous incident happened at a Jack In The Box restaurant on North Main Street in Salinas at 6:40 p.m. Thursday.

A man with a gun waived his weapon at customers who were eating.

"He started waiving the gun in front of the customers, then jumped the counter and told employees to open the cash registers. He then started pointing the gun at employees' heads and at one point put the gun in a victim's mouth. The suspect grabbed the money and put in a duffel bag. He jumped back over the counter and robbed a customer," Salinas police officer Michael Groves said.

He then left the store and escaped by riding a bicycle south on North Main Street.

Detectives said one theory they are working with is that the man who Salinas police killed at Wing Stop may have been the same man who robbed the Salinas Jack In The Box.