Court records show a Huntsville man set to go on trial for capital murder Monday instead pleaded guilty to a lesser charge.