BARRE — The Granite City man accused of stealing $1,300 in cash from The Quarry Grill and Tavern has pleaded guilty to the crime.

Shawn Braley, 30, agreed to plead guilty to felony burglary in Washington County criminal court in Barre on Tuesday. He was sentenced to one month to eight years for the crime.

According to the police affidavit, Braley, a former employee of the restaurant, used an unlocked door on the roof of the North Main Street restaurant to enter the building July 6 and take the money from a cash register. Police say the owner of the restaurant showed them a video of a man entering through the door on the second floor, taking the cash and leaving the way he came in. The owner told police that the mannerisms of the man on the video resembled Braley’s. Police said they spoke with Braley and that he denied any involvement in the crime at first, but when told about the video admitted to the burglary.

An additional misdemeanor charge of retail theft was dropped, per the plea agreement. According to the police affidavit for that charge, police say Braley took a box of Tampax tampons from the Rite Aid store on North Main Street, hid them in the front pocket of his sweatshirt and tried to leave the store without paying for the item.

Braley has yet to be arraigned on the latest charge against him in which Vermont State Police say he swallowed packets of a regulated drug in an attempt to bring the drug into the Northeast Regional Correctional Facility in St. Johnsbury. Braley was brought to the facility July 9 as he was being held on $1,000 bail for the burglary charge, and he was subsequently found by Department of Corrections staff to have swallowed packets of the narcotic buprenorphine.

For that he is to appear in Caledonia County criminal court on Nov. 18 to answer a charge of transportation of a controlled substance into a detention center.

Braley has a lengthy criminal record, including six felony convictions: grand larceny, prescription fraud and embezzlement in 2009; first-degree arson and burglary in 2005; and the sale or delivery of marijuana in 2004. He also has 17 misdemeanor convictions, including retail theft in 2011 and 2009, credit card fraud in 2008 and cocaine possession in 2004.