ENID, Okla. — A 21-year-old Enid man accused of trying to rob a convenience store Sunday night while wielding a hammer was arraigned Thursday.

Matthew Mareberger appeared Thursday before Special District Judge Brian Lovell for arraignment on a felony charge of attempted robbery with a dangerous weapon, which is punishable by five years to life in prison. Lovell ordered a competency evaluation for Mareberger and ordered him to return to court Oct. 24 for a bond appearance.

According to an affidavit filed in the case, at 10:08 p.m. Sunday Enid Police Department officers responded to CJ's One Stop Shop, 1606 W. Willow, on a report of an attempted armed robbery in which the suspect was being detained by two customers.

As officers responded to the call, they were advised by dispatch that a man armed with a hammer was being detained by patrons at the convenience store, according to the affidavit. Officer Matthew Hainley was the first to arrive on scene and detained Mareberger after finding him pinned to the ground by two men. 

Mareberger was wearing a black hooded sweatshirt and a black sock on his left hand, according to the affidavit. He was detained and placed into a police vehicle as other officers arrived on scene.

Hainley spoke with the clerk who had been working the register during the robbery.

The clerk said a man came into the store with a hammer and a bag and demanded he empty the cash register, according to the affidavit. The clerk said his friends came into the store from outside and grabbed the man and put him on the ground. The clerk said his friends held Mareberger there until police arrived.

Police also spoke with a woman who witnessed the robbery. She said she had just put her drinks on the counter when a man came into the store, according to the affidavit. She said the man told the clerk to put everything into the bag.

She told police the man raised the hammer to the clerk and she thought he was going to hit her, according to the affidavit. Hainley asked the woman if the would-be robber made a gesture or threat toward her, and she said he ran toward her. She said two men came into the store and grabbed Mareberger, and she ran outside.

Hainley also spoke to the two men who detained Mareberger.

One man said he was outside of the store when he saw a man with a hammer walk by him and into the store, according to the affidavit. He said he went into the store and heard Mareberger telling the clerk to put the money into the bag. He said he grabbed Mareberger from behind and took him to the ground.

The other man said he also saw Mareberger walk up to the store with a hammer and go inside, according to the affidavit. He said he ran into the store to stop Mareberger and the "fight was on." He said he and the other man took Mareberger to the ground and held him there until police could arrive.

Police reviewed surveillance video from the store and saw Mareberger clearly could be seen wielding the hammer at the counter, according to the affidavit.

Police found what they believed to be Mareberger's vehicle in the 2400 block of Glendale, according to the affidavit. It was a locked, unoccupied white Ford F-150 with the engine running. Police contacted the owner of the truck, Mareberger's father, who came to the scene.

The man said his son recently was suffering from psychological problems, according to the affidavit. He allowed officers to search the truck, where they located a sock similar to the one worn by Mareberger during the robbery attempt.

Mareberger refused to speak with police at the scene, according to the affidavit.