YORK, Pa. (WHTM) — A man has died after a shooting in York City took place around 7 p.m. Tuesday night, dispatch confirmed with abc27 Wednesday morning.

Get daily news, weather, breaking news, and alerts straight to your inbox! Sign up for the abc27 newsletters here

The shooting took place on the first block of North Penn Street at the Asian Best Chinese and Thai Cuisine Restaurant.

“I was in shock. It was definitely a robbery in progress” Frank Sibol, who lives above the Asian Best Restaurant, said.

According to a report from the York County Coroner’s Office, Rickey Cox Jr., 33, of Manchester, York County was shot by the owner of the restaurant while Cox was attempting to rob the restaurant at gunpoint. Cox died immediately at the scene, according to the York County Coroner’s report.

Police say the owner of the restaurant shot and killed the alleged robber was someone police recognized.

“He has a criminal record, yes,” Detective Andy Baez said. “He is still in shock. It’s still a shock to him, and to the rest of those who were inside.”

The next of kin has been notified and an autopsy has been scheduled for Friday morning.

In a Facebook post late Wednesday night, it was announced that the restaurant would not be reopening following the events of Tuesday night.

The investigation continued and the district attorney ultimately decided whether this was a justifiable homicide.

“We have a duty due to our due diligence, and that’s what we’re doing. But with the process of understanding, we’re still human, we understand, and we have to give them the benefit of the doubt,” Detective Baez said.

On Tuesday, Jan. 11, it was determined after investigation and consultation that no charges will be filed in this case. The incident has been ruled a justifiable homicide.