Robert Werking, 60, pleaded guilty to possessing a gun while under the influence of alcohol or a controlled substance and to harassing his wife.