An Ohio man with a history of burglaries will spend nine years in federal prison for breaking into a local pharmacy and stealing thousands of narcotic painkiller pills.

Dale Foughty, 38, formerly of Columbus, was sentenced to that term Tuesday by U.S. District Judge Arthur Schwab, who also imposed a three-year term of probation.

Federal prosecutors said Foughty and another man, William Dishman, burglarized the Spartan Pharmacy in Bethel Park on Sept. 4, 2015. Mr. Foughty used a crowbar to break in and then stole 6,000 oxycodone and oxymorphone pills.

Both men pleaded guilty. Mr. Dishman is set to be sentenced in August.