At least 7 people were killed in a mass shooting at a supermarket in Buffalo, New York, on Saturday afternoon, and a suspect was in custody, law enforcement sources told NBC News.

Another victim is in critical condition, the sources said.

A man wearing military-style gear entered a Tops Friendly Market on Jefferson Avenue shortly after 2:30 p.m. and began firing a rifle, law enforcement said.

At least two rifles were recovered from the scene, according to police sources.

New York Governor Kathy Hochul said she was “watch carefullythe shooting and offered assistance to local authorities.

Authorities are currently in the preliminary stages of their investigation and have not officially determined what motivated the shooter to open fire on the grocery store.

Tops Friendly Markets spokeswoman Kathleen A. Sautter said in a statement, “We are shocked and deeply saddened by this senseless act of violence and our thoughts and prayers are with the victims and their families.”

“Our top priority remains the health and well-being of our associates and customers,” she said. “We appreciate the prompt response from local law enforcement and are providing all available resources to assist authorities with the ongoing investigation.”

This is a developing story. Check back for updates.

Denis Romero contributed.