A man was shot dead by police in the US state of Maryland after he stabbed five people, according to authorities on Sunday.

During a press briefing, Baltimore County police spokesperson Jen Peach said that a man threatened people and demanded money at a liquor store at the Hunt Valley Towne Centre in Cockeysville, near Towson, accoding to reports.

The man stabbed four people in the liquor store, then fled and stabbed another person in front of a Noodles and Company restaurant, Peach further said.

All five victims had non-life threatening injuries, he added.

Officers gave repeated commands to the suspect to drop the knife, but he refused to comply with police directives, and they were forced to discharge their weapons during the encounter,” Xinhua news agency quoted the statement as saying.

“The suspect, who has not yet been positively identified, suffered a critical injury during the encounter and was pronounced deceased at the scene,” it added.

The suspect’s motive is still unclear.

All five injured people were sent to local hospitals for treatment.