LOCKPORT – A Niagara Falls man, charged in two separate indictments, accepted a plea deal Wednesday in Niagara County Court.

Frank M. Thomas, 33, of Memorial Parkway, agreed to pay $13,070 in restitution to an electronic cigarette store on Pine Avenue in the Falls, which he burglarized on the night of July 30-31. Prosecutors said Thomas and a co-defendant, Darnell K. Davis, 19, of Pierce Avenue, listed stolen merchandise for sale on the craigslist website.

Thomas pleaded guilty to attempted third-degree burglary and attempted second-degree criminal possession of a weapon. The latter charge stemmed from a loaded handgun found at Thomas’ home in a Feb. 14, 2013, police raid that also netted nearly two-thirds of an ounce of cocaine. Judge Sara Sheldon Farkas said the combined sentence she will impose for the two crimes on May 8 will total no more than five years in prison.