PITTSFIELD — A city man who was found with a gun, cocaine and other contraband in his home last January was sentenced to a year in jail Wednesday after pleading out in Berkshire Superior Court.

The plea hearing for Austyn M. Lanphear, 22, had to be rescheduled from its original Dec. 31 date after Lanphear failed to appear for the 9 a.m. event, prompting the issuance of an arrest warrant.

On Wednesday, Lanphear, who had been taken into custody in the meantime, told Judge Daniel Ford he had transportation issues that prevented him from getting to court that day.

On Jan. 10, 2018, members of the Berkshire County Drug Task Force were staking out Lanphear's home after obtaining search warrants for his him, his home and car, on suspicion he was using his home to distribute drugs.

Police waited until Lanphear left his home to take him into custody, out of concern he may have weapons inside. He left about 9:30 p.m. and was soon pulled over by police.

Inside the home, police found about 12.7 grams of cocaine, a loaded .45 caliber handgun, some other rounds of ammunition, three 30-milligram oxycodone pills and other evidence including a digital scale and other dealer paraphernalia.

Lanphear had no license for the weapon nor firearms identification card for the ammunition.

In all, he pleaded guilty to one count each of possession of cocaine with intent to distribute, illegal possession of a firearm, possession of ammunition without an identification card, possession of oxycodone and improper storage of a firearm.

The sentence was the result of an agreed-upon recommendation by Lanphear's attorney, Joseph Zlatnik and Assistant Berkshire District Attorney Joseph Yorlano, who noted the recommendation was based, in part, on Lanphear's lack of an adult criminal record.

Lanphear was sentenced to one year in jail, which will be served at the Berkshire Jail and House of Correction, followed by one year of probation, during which time he must avoid illegal drugs, undergo a substance abuse evaluation and participate in whatever counseling is deemed necessary.

Bob Dunn can be reached at bdunn@berkshireeagle.com, at @BobDunn413 on Twitter and 413-496-6249.