A man was arrested Tuesday for allegedly taking upskirt images of people at a Medford, Massachusetts, grocery store last week, police said.

Ogechi Asia, of Westborough, was taken into custody near the Aldi supermarket where the images were allegedly taken, Medford police said.

Asia, 33, is being charged with photographing, videotaping or electronically surveilling a person (upskirting) and was set to appear in Somerville District Court on Wednesday, police said. It wasn’t immediately clear if he had an attorney who could speak to the charge.

The incidents took place at the Aldi on Fellsway on Wednesday, according to the Medford Police Department.

The first incident was reported by a person who said that she was approached from behind while shopping at the store and had a man put his cellphone under her skirt, police said. Officers looked at Aldi surveillance footage and found the same person apparently doing something similar that day — the incidents took place about 11:20 a.m. and 1:03 p.m.

Police said Asia was taken into custody at the Fellsway Plaza parking lot about noon on Tuesday, a day after police had asked for help identifying a suspect. The plaza is down the Fellsway from Aldi.