A 21-year-old man turned himself in to police Tuesday after allegedly breaking into Alley’s General Store over the weekend, police said.

On Tuesday, Geoffrey B. McCullough of Hingham came to the West Tisbury police station and admitted to the break-in, police said. Mr. McCullough will be given a court summons and will be charged with breaking and entering, malicious destruction of property and larceny.

West Tisbury police had asked for the public’s help in identifying a man shown on surveillance camera footage breaking into the historic general store Saturday evening. Police shared pictures and video footage on Facebook and with local media.

Lieut. Matt Mincone said alcohol played a role in the incident, and that Mr. McCullough said he blacked out and did not remember what happened. Mr. McCullough saw the pictures on social media and turned himself in, Lieutenant Mincone said.

According to police, he allegedly entered the store by breaking a window on the porch of the store. An alarm was triggered, and police said a cleaner arrived at the store shortly afterward, which may have startled Mr. McCullough and prompted him to leave.

Police said four packs of cigarettes were taken from the store.

Lieutenant Mincone said he applauded Mr. McCullough’s decision to turn himself in. “He’s trying to be accountable for his actions,” he said.

The broken window at Alley’s has been fixed and the store was open as normal during the rest of the holiday weekend, Det. Matt Gebo told the Gazette Monday.

“They were packed this morning when I checked on them,” he said.