Former officer pleads guilty