A Maryland man who broke down the door of a house, took off his pants and ate a chicken pot pie was spared jail when he agreed to enter drug treatment.

Russell Neff, 23, pleaded guilty to first degree burglary and was sentenced to 10 years in jail with all but time served suspended when he agreed to enter a drug treatment court program Jan. 11, The Daily Times, Salisbury, Md., reported Thursday.

Police said Neff broke down the door to a stranger's Salisbury home in August and cooked and ate a chicken pot pie from the home's kitchen, The Washington Post reported.

Officers arrived to find Neff clad in only his underwear and licking a television remote control, police said.