A Medstead man caught last summer with the makings for a mobile meth lab has pleaded guilty.

But he's not going to jail.

RCMP arrested Scott Anderson, 43, on July 17, 2012 after searching three locations north of the Battlefords. These included a home in the town, a van and a trailer.

Investigators seized materials commonly used in the making of the amphetamine, including lithium batteries and ephedrine. Prosecutors tell CBC it appeared Anderson was in the process of creating a laboratory to make the drug in his van.

Anderson had been in custody since his arrest last summer.

At the end of April, he pleaded guilty in provincial court in the Battlefords to the charge of having the raw materials for a meth lab – but not to actually making the drug. Anderson was given a nine-and-half-month sentence, which reflected the time he had already been in custody. He will not have to serve any further time at a correctional institution.