Marion man who strangled deputy gets six years in prison