Two people were wounded Sunday when gunfire erupted in an upstate mall, authorities said.

The Galleria at Crystal Run in Middletown was evacuated after an unidentified man fired shots that ricocheted off the floor at around 3:30 p.m., Wallkill Police Chief Robert Hertman said.

Footage posted to Instagram by Grismaylin Almanzar showed police in tactical gear running down the corridor as shoppers fled in the other direction

The gunman, who was wearing gray pants and a black hoodie, remained at large, authorities said.

It wasn’t clear whether he intentionally fired the gun, Hertman said, or if the victims were targets. Hertman did not say whether a weapon was found at the scene.

The wounded people were taken to an area hospital and were expected to make a full recovery.

A Twitter user calling himself Greg C wrote that he and his wife were escorted from the mall by State Police “in full assault gear.”

“It was crazy and chaotic,” he wrote.

Wallkill police did not immediately return a message for comment.